From a1d46a278bc3f2b11e110b20c98eb1ecb6ad000f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 10 Sep 2017 21:04:40 +0800 Subject: [PATCH] Change default value of m_diskCacheSize. New default is 64 MB. --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 8759e3501..c0587686d 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -274,7 +274,7 @@ Session::Session(QObject *parent) , m_isTrackerFilteringEnabled(BITTORRENT_SESSION_KEY("TrackerFilteringEnabled"), false) , m_IPFilterFile(BITTORRENT_SESSION_KEY("IPFilter")) , m_announceToAllTrackers(BITTORRENT_SESSION_KEY("AnnounceToAllTrackers"), true) - , m_diskCacheSize(BITTORRENT_SESSION_KEY("DiskCacheSize"), 0) + , m_diskCacheSize(BITTORRENT_SESSION_KEY("DiskCacheSize"), 64) , m_diskCacheTTL(BITTORRENT_SESSION_KEY("DiskCacheTTL"), 60) , m_useOSCache(BITTORRENT_SESSION_KEY("UseOSCache"), true) , m_guidedReadCacheEnabled(BITTORRENT_SESSION_KEY("GuidedReadCache"), true)