Skip to content

oddbit-project/pokie-gunicorn

Repository files navigation

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
  • accesslog: -
  • errorlog: -
  • loglevel: debug

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages