Fix locking timeout on invalid IDs

This commit is contained in:
Jai A committed 2024-12-27 00:58:28 -07:00
1 parent 82393f2ae7
commit 24765db045
1 file changed
+5
+5
View File
@@ -432,6 +432,11 @@ impl RedisPool {
}
for (key, _) in ids {
pipe.atomic().del(format!(
"{}_{namespace}:{}/lock",
self.meta_namespace,
key.to_lowercase()
));
pipe.atomic().del(format!(
"{}_{namespace}:{key}/lock",
self.meta_namespace