#include <userver/utils/hedged_request.hpp>
Class define hedging settings.
Definition at line 70 of file hedged_request.hpp.
Public Attributes | |
std::size_t | max_attempts {3} |
Maximum requests to do. | |
std::chrono::milliseconds | hedging_delay {7} |
Delay between attempts. | |
std::chrono::milliseconds | timeout_all {100} |
Max time to wait for all requests. | |
std::chrono::milliseconds utils::hedging::HedgingSettings::hedging_delay {7} |
Delay between attempts.
Definition at line 74 of file hedged_request.hpp.
std::size_t utils::hedging::HedgingSettings::max_attempts {3} |
Maximum requests to do.
Definition at line 72 of file hedged_request.hpp.
std::chrono::milliseconds utils::hedging::HedgingSettings::timeout_all {100} |
Max time to wait for all requests.
Definition at line 76 of file hedged_request.hpp.