Fix locking timeout on invalid IDs

This commit is contained in:
Jai A 2024-12-27 00:58:28 -07:00
parent 82393f2ae7
commit 24765db045
No known key found for this signature in database
GPG Key ID: 9A9F9B7250E9883C

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