Explorar el Código

Update socketio timeout (#935)

Nikhil Rao hace 2 años
padre
commit
bad2363506
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.