Skip to content

Commit 8b82b3f

Browse files
security™
1 parent bdc72f4 commit 8b82b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/testing/internal/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def request(
318318
)
319319

320320
if result.error_type and result.error_type in RETRIABLE_ERRORS and attempts_so_far < max_attempts:
321-
delay_seconds = random.uniform(0, (1.618 ** (attempts_so_far - 1)))
321+
delay_seconds = random.uniform(0, (1.618 ** (attempts_so_far - 1))) # noqa: B311
322322
log.debug(
323323
"Retrying %s %s in %.3f seconds (%d attempts so far)", method, path, delay_seconds, attempts_so_far
324324
)

0 commit comments

Comments
 (0)