You've already forked AstralRinth
forked from didirus/AstralRinth
Fix locking timeout on invalid IDs
This commit is contained in:
@@ -432,6 +432,11 @@ impl RedisPool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (key, _) in ids {
|
for (key, _) in ids {
|
||||||
|
pipe.atomic().del(format!(
|
||||||
|
"{}_{namespace}:{}/lock",
|
||||||
|
self.meta_namespace,
|
||||||
|
key.to_lowercase()
|
||||||
|
));
|
||||||
pipe.atomic().del(format!(
|
pipe.atomic().del(format!(
|
||||||
"{}_{namespace}:{key}/lock",
|
"{}_{namespace}:{key}/lock",
|
||||||
self.meta_namespace
|
self.meta_namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user