Add "Ultra Fast" Profile / Fix "Default" Profile

This commit is contained in:
Alexandru Branza 2022-07-31 00:58:50 +03:00
parent 8faa85857e
commit 95539102ab

View file

@ -18,10 +18,10 @@ const cacheSizeToString = (size) => {
const TORRENT_PROFILES = {
default: {
btDownloadSpeedHardLimit: 2621440,
btDownloadSpeedSoftLimit: 1677721.6,
btDownloadSpeedHardLimit: 3670016,
btDownloadSpeedSoftLimit: 2621440,
btHandshakeTimeout: 20000,
btMaxConnections: 35,
btMaxConnections: 55,
btMinPeersForStable: 5,
btRequestTimeout: 4000
},
@ -40,6 +40,14 @@ const TORRENT_PROFILES = {
btMaxConnections: 200,
btMinPeersForStable: 10,
btRequestTimeout: 4000
},
'ultra fast': {
btDownloadSpeedHardLimit: 78643200,
btDownloadSpeedSoftLimit: 8388608,
btHandshakeTimeout: 25000,
btMaxConnections: 400,
btMinPeersForStable: 10,
btRequestTimeout: 6000
}
};