up fix to sitenotimplementedexception

This commit is contained in:
nikili0n
2023-09-26 00:01:09 +03:00
committed by Dantenerosas
parent 89398ae5d1
commit d7b82e3184
3 changed files with 29 additions and 5 deletions

View File

@@ -7,6 +7,8 @@ class RedisClient:
SET_NAME = "queue"
TASKS_NAME = "tasks_working"
TASKS_DONE_NAME = "tasks_done"
# TODO: переписать всё вазимодействие редиса обратно на ключ-значение
def __init__(self):
self.connection = redis.Redis(host="localhost", port=6379, db=0)