Skip to content

Commit 4198548

Browse files
Revert "experiment(app): make socketio server ping every 1s"
This reverts commit ddf00bf.
1 parent 41d5a17 commit 4198548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/api/sockets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class SocketIO:
9090
_unsub_bulk_download = "unsubscribe_bulk_download"
9191

9292
def __init__(self, app: FastAPI):
93-
self._sio = AsyncServer(async_mode="asgi", cors_allowed_origins="*", ping_interval=1)
93+
self._sio = AsyncServer(async_mode="asgi", cors_allowed_origins="*")
9494
self._app = ASGIApp(socketio_server=self._sio, socketio_path="/ws/socket.io")
9595
app.mount("/ws", self._app)
9696

0 commit comments

Comments
 (0)