Skip to content

Commit

Permalink
Merge pull request #51 from schireson/dc/optional-retries
Browse files Browse the repository at this point in the history
fix: Allow infinite worker retries.
  • Loading branch information
DanCardin authored Oct 23, 2023
2 parents 7def440 + adb30e7 commit b2850de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "strapp"
version = "0.3.19"
version = "0.3.20"
description = ""
authors = []
packages = [
Expand Down
2 changes: 1 addition & 1 deletion src/strapp/dramatiq/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(
queue_name: str = "default",
store_results: bool = False,
time_limit_ms: int = 1000 * 60 * 60,
max_retries: int = 0,
max_retries: Optional[int] = 0,
**options,
):
self.fn = fn
Expand Down

0 comments on commit b2850de

Please sign in to comment.