Commit d6898196 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix timeout

parent 2199187d
......@@ -268,7 +268,7 @@ let closedUser = function (res, pool) {
}
// 创建服务器
http.createServer((req, res) => {
const server = http.createServer((req, res) => {
try
{
// 读取数据
......@@ -306,6 +306,9 @@ http.createServer((req, res) => {
return;
}
}).listen(1025);
})
server.timeout = 0
server.listen(1025);
setInterval(update, config.match.timeInterval);
setInterval(update, config.match.timeInterval);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment