Commit d4df8b91 authored by Dennis Willers's avatar Dennis Willers 🏀

set timeout to 15 Minutes

parent ac47a505
Pipeline #445 passed with stage
in 1 minute and 13 seconds
......@@ -60,7 +60,7 @@ server.on('connection',function(socket){
socket.setEncoding('utf8');
socket.setTimeout(60000,function(){
socket.setTimeout(900000,function(){
// called after timeout -> same as socket.on('timeout')
// it just tells that soket timed out => its ur job to end or destroy the socket.
// socket.end() vs socket.destroy() => end allows us to send final data and allows some i/o activity to finish before destroying the socket
......
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