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

@ -103,6 +103,8 @@ socketio = SocketIO(
engineio_logger=engineio_logger,
max_http_buffer_size=max_http_buffer_size,
cors_allowed_origins=cors_allowed_origins,
ping_interval=(50,50),
ping_timeout=60
)

694
frontend/dist/assets/index.48fa0a78.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI Stable Diffusion Dream Server</title>
<script type="module" crossorigin src="/assets/index.632c341a.js"></script>
<script type="module" crossorigin src="/assets/index.48fa0a78.js"></script>
<link rel="stylesheet" href="/assets/index.447eb2a9.css">
</head>
<body>

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;