From a3d3f839a59f5a1e8de7aaa57d3ef53b360fa919 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 3 Sep 2024 11:38:08 -0500 Subject: [PATCH] Additional example waitress settings --- examples/etc/pgwui.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/etc/pgwui.yaml b/examples/etc/pgwui.yaml index a500eeb..08b95d5 100644 --- a/examples/etc/pgwui.yaml +++ b/examples/etc/pgwui.yaml @@ -471,6 +471,17 @@ server: host: 127.0.0.1 port: 6543 + # Connections can sit idle for 5 hours before being killed + # This gives the server 5 hours (in seconds) to respond + channel_timeout: 18000 + + # How many concurrent users? (some may be long-running) + # (This should probably be set to match what apache does.) + threads: 20 + + # Largest http body (upload size), 1GB + #max_request_body_size: '1073741824' + # When using a standalone WSGI server like uwsgi or Apache's mod_wsgi # use the pgwui_server's WSGI. #use: egg:pgwui_server#main -- 2.34.1