Skip to content

plone/waitress_fastlisten

Repository files navigation

A fast listen implementation for Waitress WSGI

This tiny package allows the waitress WSGI server to immediatly pre-bind to a port and listen to it. It waits then for the app to start up and passes then requests further.

Usage

In your paste based WSGI configuration in [server:main] set:

  • paste-server-factory to waitress_fastlisten:main
  • use to egg:waitress_fastlisten#main
  • fast-listen to HOST:PORT

Do not set "listen =".

Example:

[server:main]
paste.server_factory = waitress_fastlisten:main
use = egg:waitress_fastlisten#main
fast-listen = 0.0.0.0:8080

About

A fast listen implementation for Waitress WSGI

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Languages