Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlBackup::RetrySettings Struct Reference

Configuration for retry behavior on transient errors during backup/restore operations. More...

#include <SqlBackup.hpp>

Public Attributes

unsigned maxRetries = 3
 Maximum number of retry attempts for transient errors.
 
std::chrono::milliseconds initialDelay { 500 }
 Initial delay between retry attempts.
 
double backoffMultiplier = 2.0
 Multiplier applied to delay after each failed attempt (exponential backoff).
 
std::chrono::milliseconds maxDelay { 30000 }
 Maximum delay between retry attempts.
 

Detailed Description

Configuration for retry behavior on transient errors during backup/restore operations.

Definition at line 105 of file SqlBackup.hpp.

Member Data Documentation

◆ maxRetries

unsigned Lightweight::SqlBackup::RetrySettings::maxRetries = 3

Maximum number of retry attempts for transient errors.

Definition at line 108 of file SqlBackup.hpp.

◆ initialDelay

std::chrono::milliseconds Lightweight::SqlBackup::RetrySettings::initialDelay { 500 }

Initial delay between retry attempts.

Definition at line 111 of file SqlBackup.hpp.

◆ backoffMultiplier

double Lightweight::SqlBackup::RetrySettings::backoffMultiplier = 2.0

Multiplier applied to delay after each failed attempt (exponential backoff).

Definition at line 114 of file SqlBackup.hpp.

◆ maxDelay

std::chrono::milliseconds Lightweight::SqlBackup::RetrySettings::maxDelay { 30000 }

Maximum delay between retry attempts.

Definition at line 117 of file SqlBackup.hpp.


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