Skip to main content

Gunicorn embedding module for pokie

Project description

Welcome to Pokie-gunicorn

pypi license

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page