延长超时时间
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m54s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m54s
This commit is contained in:
parent
31877b8729
commit
31c6d29bd8
@ -9,7 +9,7 @@ const { MessageHistory } = require('./src/message_history.js');
|
|||||||
const app = express();
|
const app = express();
|
||||||
const server = http.createServer(app);
|
const server = http.createServer(app);
|
||||||
const io = socketIo(server, {
|
const io = socketIo(server, {
|
||||||
pingTimeout: 60000, // 60秒超时
|
pingTimeout: 300000, // 60秒超时
|
||||||
pingInterval: 25000, // 25秒心跳间隔
|
pingInterval: 25000, // 25秒心跳间隔
|
||||||
upgradeTimeout: 30000, // 30秒升级超时
|
upgradeTimeout: 30000, // 30秒升级超时
|
||||||
allowEIO3: true, // 允许Engine.IO v3客户端
|
allowEIO3: true, // 允许Engine.IO v3客户端
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user