increased meta hydration cap limit

This commit is contained in:
tapframe 2026-03-01 00:55:16 +05:30
parent 229d5f2984
commit f017f08095
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ class TraktLibraryService @Inject constructor(
private var lastRefreshMs: Long = 0L
private val cacheTtlMs = 60_000L
private val metadataHydrationLimit = 30
private val metadataHydrationLimit = 250
private val listFetchConcurrency = 3
private val metadataFetchSemaphore = Semaphore(5)

View file

@ -165,7 +165,7 @@ class TraktProgressService @Inject constructor(
private val episodeProgressFetchThrottleMs = 15_000L
private val optimisticTtlMs = 3 * 60_000L
private val maxRecentEpisodeHistoryEntries = 300
private val metadataHydrationLimit = 30
private val metadataHydrationLimit = 250
private val metadataFetchSemaphore = Semaphore(5)
private val fastSyncThrottleMs = 3_000L
private val manualRefreshSignalThrottleMs = 2_000L

View file

@ -73,7 +73,7 @@ class WatchProgressRepositoryImpl @Inject constructor(
private val metadataState = MutableStateFlow<Map<String, ContentMetadata>>(emptyMap())
private val metadataMutex = Mutex()
private val inFlightMetadataKeys = mutableSetOf<String>()
private val metadataHydrationLimit = 30
private val metadataHydrationLimit = 250
private fun triggerRemoteSync() {
if (isSyncingFromRemote) return