Skip to content

Commit df64f57

Browse files
Use 500ms rather than 25ms for the exponential backoff defaults. (#612)
1 parent 8583ba7 commit df64f57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/aws/io/retry_strategy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct aws_exponential_backoff_retry_options {
110110
struct aws_event_loop_group *el_group;
111111
/** Max retries to allow. The default value is 10 */
112112
size_t max_retries;
113-
/** Scaling factor to add for the backoff. Default is 25ms */
113+
/** Scaling factor to add for the backoff. Default is 500ms */
114114
uint32_t backoff_scale_factor_ms;
115115
/** Max retry backoff in seconds. Default is 20 seconds */
116116
uint32_t max_backoff_secs;

source/exponential_backoff_retry_strategy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ struct aws_retry_strategy *aws_retry_strategy_new_exponential_backoff(
373373
}
374374

375375
if (!exponential_backoff_strategy->config.backoff_scale_factor_ms) {
376-
exponential_backoff_strategy->config.backoff_scale_factor_ms = 25;
376+
exponential_backoff_strategy->config.backoff_scale_factor_ms = 500;
377377
}
378378

379379
if (!exponential_backoff_strategy->config.max_backoff_secs) {

0 commit comments

Comments
 (0)