File tree Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 1
- web : gunicorn -c gunicorn.conf -k aiohttp.worker.GunicornWebWorker conveyor.app:application
1
+ web : gunicorn -c gunicorn.conf.py -k aiohttp.worker.GunicornWebWorker conveyor.app:application
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ python3 -m venv .state/venv
27
27
.state/venv/bin/pip install -r requirements.txt
28
28
export CONVEYOR_ENDPOINT=https://pypi.python.org
29
29
export DOCS_BUCKET=pypi-docs
30
- .state/venv/bin/gunicorn -k aiohttp.worker.GunicornWebWorker conveyor.app:application
30
+ .state/venv/bin/gunicorn -b 127.0.0.1:8000 - k aiohttp.worker.GunicornWebWorker conveyor.app:application
31
31
```
32
32
33
33
## Deployment
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ bind = "unix:/var/run/cabotage/cabotage.sock"
2
+ backlog = 2048
3
+ max_requests = 2048
4
+ max_requests_jitter = 128
5
+
6
+ worker_connections = 1000
7
+ timeout = 60
8
+ keepalive = 2
9
+
10
+ errorlog = "-"
11
+ loglevel = "info"
12
+ accesslog = "-"
13
+ access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
14
+
15
+
16
+ def when_ready (server ):
17
+ open ("/tmp/app-initialized" , "w" ).close ()
You can’t perform that action at this time.
0 commit comments