From bad2363506f4f515a138de2f2c7e270f8464d8eb Mon Sep 17 00:00:00 2001 From: Nikhil Rao Date: Wed, 3 May 2023 19:50:04 -0700 Subject: [PATCH] Update socketio timeout (#935) --- pynecone/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynecone/constants.py b/pynecone/constants.py index f85336d63..168da4c6c 100644 --- a/pynecone/constants.py +++ b/pynecone/constants.py @@ -81,7 +81,7 @@ RUN_BACKEND_PROD = f"gunicorn --worker-class uvicorn.workers.UvicornH11Worker -- RUN_BACKEND_PROD_WINDOWS = f"uvicorn --timeout-keep-alive {TIMEOUT}".split() # Socket.IO web server PING_INTERVAL = 25 -PING_TIMEOUT = 5 +PING_TIMEOUT = 120 # Compiler variables. # The extension for compiled Javascript files.