feat: crap
This commit is contained in:
@@ -68,6 +68,8 @@ class BatchLimiter:
|
||||
keys = []
|
||||
async for key in redis.scan_iter('*_lock*'):
|
||||
keys.append(key)
|
||||
if not keys:
|
||||
return
|
||||
await redis.delete(*keys)
|
||||
|
||||
async def acquire_wildberries(self, key):
|
||||
|
||||
Reference in New Issue
Block a user