Skip to content

Commit

Permalink
doc: add gunicorn keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
ktleung2017 committed Mar 18, 2021
1 parent 8797030 commit f42d70a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/python/python_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Python Server can be configured using environmental variables or command line fl
| `--threads` | `GUNICORN_THREADS` | `10` | Number of threads to run per Gunicorn worker. |
| `--max-requests` | `GUNICORN_MAX_REQUESTS` | `0` | Maximum number of requests gunicorn worker will process before restarting. |
| `--max-requests-jitter` | `GUNICORN_MAX_REQUESTS_JITTER` | `0` | Maximum random jitter to add to max-requests. |
| `--keepalive` | `GUNICORN_KEEPALIVE ` | `2` | The number of seconds to wait for requests on a Keep-Alive connection. |
| `--access-log` | `GUNICORN_ACCESS_LOG` | `false` | Enable gunicorn access log. |
| `--pidfile` | N/A | None | A file path to use for the Gunicorn PID file. |
| `--single-threaded` | `FLASK_SINGLE_THREADED` | `0` | Force the Flask app to run single-threaded. Also applies to Gunicorn. Can be `0` or `1`. |
Expand Down

0 comments on commit f42d70a

Please sign in to comment.