Fix worker crash: remove broken gunicorn post_fork hook
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-7
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user