remove dbpool
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# 等待 Redis 和 PgBouncer 准备就绪
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# 执行数据库迁移
|
# 执行数据库迁移
|
||||||
@@ -11,9 +10,4 @@ exec gunicorn api.asgi:application \
|
|||||||
--bind 0.0.0.0:8000 \
|
--bind 0.0.0.0:8000 \
|
||||||
--worker-class uvicorn.workers.UvicornWorker \
|
--worker-class uvicorn.workers.UvicornWorker \
|
||||||
--workers 4 \
|
--workers 4 \
|
||||||
--threads 2 \
|
--threads 2
|
||||||
--timeout 120 \
|
|
||||||
--keep-alive 65 \
|
|
||||||
--max-requests 1000 \
|
|
||||||
--max-requests-jitter 50 \
|
|
||||||
--log-level info
|
|
||||||
Reference in New Issue
Block a user