8000 multiplier attribute cannot drop below 1 · localstack/localstack@f17c9eb · GitHub
[go: up one dir, main page]

Skip to content

Commit f17c9eb

Browse files
committed
multiplier attribute cannot drop below 1
1 parent 59ef539 commit f17c9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

localstack-core/localstack/utils/backoff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ExponentialBackoff:
5050

5151
initial_interval: float = Field(0.5, title="Initial backoff interval in seconds", gt=0)
5252
randomization_factor: float = Field(0.5, title="Factor to randomize backoff", ge=0, le=1)
53-
multiplier: float = Field(1.5, title= 524F "Multiply interval by this factor each retry", gt=0)
53+
multiplier: float = Field(1.5, title="Multiply interval by this factor each retry", gt=1)
5454
max_interval: float = Field(60.0, title="Maximum backoff interval in seconds", gt=0)
5555
max_retries: int = Field(-1, title="Max retry attempts (-1 for unlimited)", ge=-1)
5656
max_time_elapsed: float = Field(-1, title="Max total time in seconds (-1 for unlimited)", ge=-1)

0 commit comments

Comments
 (0)
0