mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Fix submission and vote locks
This commit is contained in:
@@ -187,7 +187,7 @@ if (config.redis?.enabled) {
|
||||
}
|
||||
|
||||
if (config.redis.useCompression) {
|
||||
return del(...keys.map((key) => createKeyName(key)) as [RedisCommandArgument]);
|
||||
return del(...keys.flatMap((key) => [key, createKeyName(key)]) as [RedisCommandArgument]);
|
||||
} else {
|
||||
return del(...keys);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user