Merge pull request #297 from Stremio/add-ultra-fast-profile

This commit is contained in:
Nikola Hristov 2022-10-05 11:20:09 +03:00 committed by GitHub
commit bab59bc061
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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