Skip to content

Commit 83eb987

Browse files
committed
remove attempt
1 parent 219220d commit 83eb987

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/optimizely/cmab/cmab_client.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def _do_fetch_with_retry(url, request_body, retry_config, timeout)
150150
# Returns:
151151
# The variation ID from the response.
152152

153-
attempt = 0
154153
backoff = retry_config.initial_backoff
155154
(0..retry_config.max_retries).each do |attempt|
156155
_do_fetch(url, request_body, timeout)

0 commit comments

Comments
 (0)