revert session file

This commit is contained in:
BennyThink 2022-03-08 23:15:38 +08:00
parent 39b4ae14de
commit 5b22ce9562
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -49,7 +49,7 @@ logging.getLogger('apscheduler.executors.default').propagate = False
# app = Celery('celery', broker=BROKER, accept_content=['pickle'], task_serializer='pickle') # app = Celery('celery', broker=BROKER, accept_content=['pickle'], task_serializer='pickle')
app = Celery('tasks', broker=BROKER) app = Celery('tasks', broker=BROKER)
celery_client = create_app() celery_client = create_app(":memory:")
def get_messages(chat_id, message_id): def get_messages(chat_id, message_id):