| # start.sh | |
| # 初始化聊天队列 | |
| # pypy/bin/python init_pool.py | |
| # 启动 Gunicorn 服务器 | |
| pypy/bin/gunicorn service.server:app \ | |
| --worker-class uvicorn.workers.UvicornWorker \ | |
| --workers 16 \ | |
| --bind 0.0.0.0:8000 \ | |
| --timeout 30 \ | |
| --keep-alive 5 \ | |
| --access-logfile - \ | |
| --error-logfile - |