Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Attributes | List of all members
opendal::RetryConfig Struct Reference

Configuration for the retry layer. More...

#include <layer.hpp>

Public Attributes

bool jitter = false
 
float factor = 2.0f
 
std::chrono::nanoseconds min_delay {std::chrono::seconds(1)}
 
std::chrono::nanoseconds max_delay {std::chrono::minutes(1)}
 
uint64_t max_times = 3
 

Detailed Description

Configuration for the retry layer.

Member Data Documentation

◆ factor

float opendal::RetryConfig::factor = 2.0f

◆ jitter

bool opendal::RetryConfig::jitter = false

◆ max_delay

std::chrono::nanoseconds opendal::RetryConfig::max_delay {std::chrono::minutes(1)}

◆ max_times

uint64_t opendal::RetryConfig::max_times = 3

◆ min_delay

std::chrono::nanoseconds opendal::RetryConfig::min_delay {std::chrono::seconds(1)}

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