zwoop commented on code in PR #12524:
URL: https://github.com/apache/trafficserver/pull/12524#discussion_r2370024767
##########
src/traffic_server/traffic_server.cc:
##########
@@ -2131,6 +2137,12 @@ main(int /* argc ATS_UNUSED */, const char **argv)
RecRegisterConfigUpdateCb("proxy.config.dump_mem_info_frequency",
init_memory_tracker, nullptr);
init_memory_tracker(nullptr, RECD_NULL, RecData(), nullptr);
+ // Start the watchdog
+ int watchdog_timeout_ms =
RecGetRecordInt("proxy.config.thread_watchdog.timeout_ms").value_or(1000);
+ watchdog =
std::make_unique<Watchdog::Monitor>(eventProcessor.thread_group[ET_NET]._thread,
Review Comment:
Should we make this optional, as in, if proxy.config.thread_watchdog == 0,
we don't setup the watchdog ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]