From c4ff0515092518e1b29ddb31f2a3201b5b0fe181 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sat, 10 May 2025 08:40:22 +0800 Subject: [PATCH] remove dbpool --- entrypoint.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1b99b86..2ebf0b6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,5 @@ #!/bin/sh -# 等待 Redis 和 PgBouncer 准备就绪 sleep 5 # 执行数据库迁移 @@ -11,9 +10,4 @@ exec gunicorn api.asgi:application \ --bind 0.0.0.0:8000 \ --worker-class uvicorn.workers.UvicornWorker \ --workers 4 \ - --threads 2 \ - --timeout 120 \ - --keep-alive 65 \ - --max-requests 1000 \ - --max-requests-jitter 50 \ - --log-level info \ No newline at end of file + --threads 2 \ No newline at end of file