plone / waitress_fastlisten

A fast listen implementation for Waitress WSGI
https://pypi.org/project/waitress-fastlisten/
Other
0 stars 0 forks source link
wsgi

============================================== 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:

Do not set "listen =".

Example:

.. code-block:: INI

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