hpx::supervision::testing::set_failure_detection_poll_timeout_for_testing#
Defined in header hpx/supervision_dispatch.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
void hpx::supervision::testing::set_failure_detection_poll_timeout_for_testing(hpx::chrono::steady_duration const &timeout)#
Overrides the timeout failure_detection_loop() passes to await_terminal() on each sweep. Must be called before init() starts the loop to take effect for that lifecycle; has no effect on a sweep already in flight. Not part of the public dispatch API - exists only to make failure-detection tests deterministic and fast instead of bound by the real 60s default_discovery_timeout.
- Parameters:
timeout – The new poll timeout.