Additional example waitress settings
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 3 Sep 2024 16:38:08 +0000 (11:38 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 3 Sep 2024 16:38:08 +0000 (11:38 -0500)
examples/etc/pgwui.yaml

index a500eeb17a75068a1468f05be8a55641460607f8..08b95d585dfb787e8c5db44a9b760b5257d724d7 100644 (file)
@@ -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