userver: utils::hedging::HedgingSettings Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utils::hedging::HedgingSettings Struct Reference

#include <userver/utils/hedged_request.hpp>

Detailed Description

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.
 

Member Data Documentation

◆ hedging_delay

std::chrono::milliseconds utils::hedging::HedgingSettings::hedging_delay {7}

Delay between attempts.

Definition at line 74 of file hedged_request.hpp.

◆ max_attempts

std::size_t utils::hedging::HedgingSettings::max_attempts {3}

Maximum requests to do.

Definition at line 72 of file hedged_request.hpp.

◆ timeout_all

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.


The documentation for this struct was generated from the following file: