14 lines
229 B
Python
14 lines
229 B
Python
from typing import Any
|
|
|
|
import app
|
|
|
|
bind = "0.0.0.0:5000"
|
|
workers = 16
|
|
worker_class = "gevent"
|
|
worker_connections = 1000
|
|
timeout = 300
|
|
|
|
|
|
def post_fork(server: Any, worker: Any) -> None:
|
|
app.gunicorn_post_fork(server, worker)
|