Browse Source

Update socketio timeout (#935)

Nikhil Rao 2 years ago
parent
commit
bad2363506
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pynecone/constants.py

+ 1 - 1
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.