minor fixes
This commit is contained in:
@@ -60,3 +60,8 @@ class RedisClient:
|
||||
async with self.connection as connection:
|
||||
res = await connection.srem(self.TASKS_DONE_NAME + f":1", json.dumps(task, indent=4).encode('utf-8'))
|
||||
return res
|
||||
|
||||
async def del_tasks_queue(self) -> int:
|
||||
async with self.connection as connection:
|
||||
res = await connection.delete(self.TASKS_NAME + f":1")
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user