Skip to content

Commit

Permalink
fix(drivers): lower max_attempts in ExponentialBackoffMixin to reason…
Browse files Browse the repository at this point in the history
…able value (#1725)
  • Loading branch information
collindutter authored Feb 14, 2025
1 parent f9ac289 commit 29e4575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion griptape/mixins/exponential_backoff_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class ExponentialBackoffMixin(ABC):
min_retry_delay: float = field(default=2, kw_only=True)
max_retry_delay: float = field(default=10, kw_only=True)
max_attempts: int = field(default=10, kw_only=True)
max_attempts: int = field(default=2, kw_only=True)
after_hook: Callable = field(default=lambda s: logging.warning(s), kw_only=True)
ignored_exception_types: tuple[type[Exception], ...] = field(factory=tuple, kw_only=True)

Expand Down

0 comments on commit 29e4575

Please sign in to comment.