fix: Fixed database initialisation and dropped to 1 worker

This commit is contained in:
2025-07-29 23:13:27 +01:00
parent 9ecd492065
commit 7cd6a0f96d
3 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -23,8 +23,4 @@ def inject_env_vars():
}
register_routes(app)
if __name__ == '__main__':
with app.app_context():
init_db(app)
app.run(host='0.0.0.0', port=5000)
init_db(app)