Don't cheat and call heartbest. We really want to know when main thread is slow

This commit is contained in:
Ai Lin Chia
2017-05-15 16:46:01 +02:00
parent 25255e63c2
commit ad2fff1917

@ -1758,11 +1758,6 @@ bool UdpServer::makeCallback(UdpSlot *slot) {
// we called the handler, don't call it again
slot->m_calledHandler = true;
// i've seen a bunch of msg20 handlers called in a row take over
// 10 seconds and the heartbeat gets starved and dumps core
if ( slot->getMsgType() == msg_type_20 )
g_process.callHeartbeat();
// g_errno was set from m_errno before calling the handler, but to
// make sure the slot doesn't get destroyed now, reset this to 0. see
// comment about Msg20 above.