Now working

This commit is contained in:
Zeecka
2025-12-31 22:47:20 +01:00
parent ad9501a3b2
commit 60bed74a0d
4 changed files with 18 additions and 16 deletions
+3 -2
View File
@@ -33,9 +33,10 @@ app.config["MAX_CONTENT_LENGTH"] = int(
)
RESULT_FOLDER.mkdir(parents=True, exist_ok=True)
db.init_app(app)
init_db(app)
with app.app_context():
init_db(app)
redis_conn = Redis(host="redis", port=6379)
queue = Queue(connection=redis_conn)