add queue system
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from typing import Any
|
||||
|
||||
import app
|
||||
|
||||
bind = "0.0.0.0:5000"
|
||||
workers = 2
|
||||
timeout = 300
|
||||
|
||||
|
||||
def post_fork(server: Any, worker: Any) -> None:
|
||||
app.gunicorn_post_fork(server, worker)
|
||||
Reference in New Issue
Block a user