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):