Fast listen on port as a wrapper for waitress WSGI server.
Project description
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:plone.recipe.zope2instance#main
fast-listen to HOST:PORT
Do not set “listen =”.
Example:
[server:main]
paste.server_factory = plone.recipe.zope2instance:main
use = egg:plone.recipe.zope2instance#main
fast-listen = 0.0.0.0:8080
Changelog
1.0.0rc1 (2021-12-04)
Isolated code from plone.recipe.zope2instance. [jensens]
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
Built Distribution
Close
Hashes for waitress_fastlisten-1.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1bd93fe8fa3b26191aefaa0967e63b3905861e176362ee10c54341247cbd4fa |
|
MD5 | 8d2afa5aae0dfb306ef7a4c88e31da99 |
|
BLAKE2b-256 | 953d2172a1903852bee3944a4a99f74650d30f09100a71a32b11d4b57f5440e3 |
Close
Hashes for waitress_fastlisten-1.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fe0bc13b979e414d714c5d5bc286ea08974dbbbc35476898d807289abc91498 |
|
MD5 | 6cb59b5b16fd8144a2b7d7f12d78e789 |
|
BLAKE2b-256 | 72e1d10a4b52873b7d11ede50b12d07cb78e7537df541a0456d14433623d647d |