File size: 332 Bytes
1f1b4db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# 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 -