mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-18 21:48:29 +03:00
Change what gets saved in memory cache
This commit is contained in:
@@ -69,5 +69,5 @@ export function userFeatureKey (userID: HashedUserID, feature: Feature): string
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function shouldClientCacheKey(key: RedisCommandArgument): boolean {
|
export function shouldClientCacheKey(key: RedisCommandArgument): boolean {
|
||||||
return (key as string).startsWith("segments.") && !(key as string).includes("shadow");
|
return (key as string).startsWith("segments.") || (key as string).startsWith("reputation.");
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user