mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
7000 -> 5000
This commit is contained in:
@@ -10,7 +10,7 @@ const TorrentCache = memo(
|
|||||||
const cacheMap = useCreateCacheMap(cache)
|
const cacheMap = useCreateCacheMap(cache)
|
||||||
|
|
||||||
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
|
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
|
||||||
const isSnakeLarge = cacheMap.length > 7000
|
const isSnakeLarge = cacheMap.length > 5000
|
||||||
|
|
||||||
return isMini ? (
|
return isMini ? (
|
||||||
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />
|
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />
|
||||||
|
|||||||
Reference in New Issue
Block a user