소스 검색

Update socketio timeout (#935)

Nikhil Rao 2 년 전
부모
커밋
bad2363506
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.