Increases socketio timeout

This commit is contained in:
psychedelicious
2022-09-26 06:24:31 +10:00
parent 76ab7b1bfe
commit db537f154e
5 changed files with 700 additions and 696 deletions

View File

@@ -24,7 +24,9 @@ import * as InvokeAI from '../invokeai';
export const socketioMiddleware = () => {
const { hostname, port } = new URL(window.location.href);
const socketio = io(`http://${hostname}:9090`);
const socketio = io(`http://${hostname}:9090`, {
timeout: 60000,
});
let areListenersSet = false;