Fix worker crash: remove broken gunicorn post_fork hook

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-06 23:02:32 +03:00
parent e334a7b32c
commit b014e64c5d
4 changed files with 31 additions and 24 deletions
+1 -7
View File
@@ -3,10 +3,4 @@ workers = 2
timeout = 120
accesslog = "-"
errorlog = "-"
capture_output = True
def post_fork(server, worker):
from app import db
db.engine.dispose()
loglevel = "info"