mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Remove upper limit of "Disk cache" setting
This commit is contained in:
parent
bcee784097
commit
c599976b6f
2 changed files with 4 additions and 6 deletions
|
@ -341,7 +341,7 @@ void AdvancedSettings::loadAdvancedSettings()
|
|||
// When build as 32bit binary, set the maximum at less than 2GB to prevent crashes.
|
||||
// These macros may not be available on compilers other than MSVC and GCC
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
spinBoxCache.setMaximum(4096);
|
||||
spinBoxCache.setMaximum(33554431); // 32768GiB
|
||||
#else
|
||||
// allocate 1536MiB and leave 512MiB to the rest of program data in RAM
|
||||
spinBoxCache.setMaximum(1536);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue