You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/03/03 11:38:36 UTC

[GitHub] [trafficserver] brbzull0 commented on a change in pull request #8689: WIP: Hoststatus remove stats creation.

brbzull0 commented on a change in pull request #8689:
URL: https://github.com/apache/trafficserver/pull/8689#discussion_r818571958



##########
File path: src/traffic_server/traffic_server.cc
##########
@@ -2162,7 +2162,6 @@ main(int /* argc ATS_UNUSED */, const char **argv)
     RecProcessStart();
     initCacheControl();
     IpAllow::startup();
-    HostStatus::instance().loadHostStatusFromStats();

Review comment:
       This was key I think, it was creating the first  `HostStatus` instance, without this the ctor will not be called so no handlers registered.  You should probably need a `init()` function to register the handlers.




-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org