Reset timer afters relauching in Linux (#1232)

This commit is contained in:
An Tao 2022-04-30 00:45:19 +08:00 committed by GitHub
parent 5892fa2f9f
commit a4ba8aff95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -493,6 +493,9 @@ void HttpAppFrameworkImpl::run()
sleep(1);
LOG_INFO << "start new process";
}
#ifdef __linux__
getLoop()->resetTimerQueue();
#endif
getLoop()->resetAfterFork();
#endif
}