mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
Reset timer afters relauching in Linux (#1232)
This commit is contained in:
parent
5892fa2f9f
commit
a4ba8aff95
@ -493,6 +493,9 @@ void HttpAppFrameworkImpl::run()
|
||||
sleep(1);
|
||||
LOG_INFO << "start new process";
|
||||
}
|
||||
#ifdef __linux__
|
||||
getLoop()->resetTimerQueue();
|
||||
#endif
|
||||
getLoop()->resetAfterFork();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user