From 5b22ce95625b0037ce7706fda9134d4b29422b8f Mon Sep 17 00:00:00 2001 From: BennyThink Date: Tue, 8 Mar 2022 23:15:38 +0800 Subject: [PATCH] revert session file --- ytdlbot/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytdlbot/tasks.py b/ytdlbot/tasks.py index efaaa48..58ded73 100644 --- a/ytdlbot/tasks.py +++ b/ytdlbot/tasks.py @@ -49,7 +49,7 @@ logging.getLogger('apscheduler.executors.default').propagate = False # app = Celery('celery', broker=BROKER, accept_content=['pickle'], task_serializer='pickle') app = Celery('tasks', broker=BROKER) -celery_client = create_app() +celery_client = create_app(":memory:") def get_messages(chat_id, message_id):