diff --git a/src/Timer.cc b/src/Timer.cc index be3c360afa..ef2763071a 100644 --- a/src/Timer.cc +++ b/src/Timer.cc @@ -49,6 +49,7 @@ const char* TimerNames[] = { "TimerMgrExpireTimer", "ThreadHeartbeat", "UnknownProtocolExpire", + "LogDelayExpire", }; const char* timer_type_to_string(TimerType type) { return TimerNames[type]; } diff --git a/src/Timer.h b/src/Timer.h index f6225f80f8..ff535f64e1 100644 --- a/src/Timer.h +++ b/src/Timer.h @@ -49,8 +49,9 @@ enum TimerType : uint8_t { TIMER_TIMERMGR_EXPIRE, TIMER_THREAD_HEARTBEAT, TIMER_UNKNOWN_PROTOCOL_EXPIRE, + TIMER_LOG_DELAY_EXPIRE, }; -constexpr int NUM_TIMER_TYPES = int(TIMER_UNKNOWN_PROTOCOL_EXPIRE) + 1; +constexpr int NUM_TIMER_TYPES = int(TIMER_LOG_DELAY_EXPIRE) + 1; extern const char* timer_type_to_string(TimerType type);