Merge remote-tracking branch 'upstream/master' into MatriX-i18n

This commit is contained in:
nikk gitanes
2021-06-06 21:16:20 +03:00
3 changed files with 48 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ const TorrentCache = memo(
const cacheMap = useCreateCacheMap(cache)
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
const isSnakeLarge = cacheMap.length > 7000
const isSnakeLarge = cacheMap.length > 5000
return isMini ? (
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />