Gunicorn embedding module for pokie
Project description
Welcome to Pokie-gunicorn
Run a pokie application with an embedded gunicorn server
Defaults
When running with no configuration, it will assume the following options:
- workers: (cpu_count * 2) + 1
- bind: localhost:5000
- threads: cpu_count * 4
- keepalive: 2
Configuration
All gunicorn settings can be used by setting GUNICORN_<UPPERCASE_SETTING> env var, or by providing them via config provider with a gunicorn_ prefix.
The class pokie_gunicorn.config.GunicornConfigTemplate contains the basic options, but can be extended to include most of the options from Gunicorn's configuration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pokie-gunicorn-1.0.0.tar.gz
(4.0 kB
view hashes)