Skip to content

Commit 7c15df5

Browse files
committed
correct the retry config
1 parent 04301ea commit 7c15df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimizely/cmab/cmab_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _do_fetch_with_retry(url, request_body, retry_config, timeout)
146146
# Returns:
147147
# The variation ID from the response.
148148

149-
backoff = retry_config.initial_backoff
149+
backoff = retry_config.retry_delay
150150

151151
(0..retry_config.max_retries).each do |attempt|
152152
variation_id = _do_fetch(url, request_body, timeout)

0 commit comments

Comments
 (0)