e334a7b32c
Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
182 B
Python
13 lines
182 B
Python
bind = "0.0.0.0:8000"
|
|
workers = 2
|
|
timeout = 120
|
|
accesslog = "-"
|
|
errorlog = "-"
|
|
capture_output = True
|
|
|
|
|
|
def post_fork(server, worker):
|
|
from app import db
|
|
|
|
db.engine.dispose()
|