commit | c249f6d96483862bf5b4b515f0857da76c9c401b | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Wed Apr 19 22:34:01 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri May 05 16:28:32 2023 +0200 |
tree | 7edccad5ea6b4a13b6dbf2c8b38237c0f61ac3f9 | |
parent | e3eea29f48d989b925320ee19445b9b6e9bec622 [diff] |
OPTIM: server: publish UP/DOWN events from STATE change Reuse cb_data from STATE event to publish UP and DOWN events. This saves some CPU time since the event is only constructed once to publish STATE, STATE+UP or STATE+DOWN depending on the state change.