This release is a pre-release and may not be stable for production use.
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]
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waitress_fastlisten-1.0.0rc1.tar.gz.
File metadata
- Download URL: waitress_fastlisten-1.0.0rc1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1bd93fe8fa3b26191aefaa0967e63b3905861e176362ee10c54341247cbd4fa
|
|
| MD5 |
8d2afa5aae0dfb306ef7a4c88e31da99
|
|
| BLAKE2b-256 |
953d2172a1903852bee3944a4a99f74650d30f09100a71a32b11d4b57f5440e3
|
File details
Details for the file waitress_fastlisten-1.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: waitress_fastlisten-1.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe0bc13b979e414d714c5d5bc286ea08974dbbbc35476898d807289abc91498
|
|
| MD5 |
6cb59b5b16fd8144a2b7d7f12d78e789
|
|
| BLAKE2b-256 |
72e1d10a4b52873b7d11ede50b12d07cb78e7537df541a0456d14433623d647d
|