Commit 14f9b7b7 authored by nanahira's avatar nanahira Committed by GitHub

update wait time

parent 152de469
...@@ -114,7 +114,7 @@ void NetServer::StopServer() { ...@@ -114,7 +114,7 @@ void NetServer::StopServer() {
if(duel_mode) if(duel_mode)
duel_mode->EndDuel(); duel_mode->EndDuel();
#ifdef YGOPRO_SERVER_MODE // For solving the problem of connection lost after duel. See https://github.com/Fluorohydride/ygopro/issues/2067 for details. #ifdef YGOPRO_SERVER_MODE // For solving the problem of connection lost after duel. See https://github.com/Fluorohydride/ygopro/issues/2067 for details.
timeval etv = { 0, 1000000 }; timeval etv = { 0, 47000 };
event_base_loopexit(net_evbase, &etv); event_base_loopexit(net_evbase, &etv);
#else #else
event_base_loopexit(net_evbase, 0); event_base_loopexit(net_evbase, 0);
......
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