Skip to content

Commit

Permalink
Merge pull request #8 from digitalfortress-dev/chore/update-example-w…
Browse files Browse the repository at this point in the history
…ait-time

chore: update example wait time
  • Loading branch information
haihuynhDF authored Dec 28, 2023
2 parents 6523f35 + 8a6cb2a commit 4363b44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sqs_client = SQSClient()
# Subscribe to a SQS
@sqs_client.task(
queue_name="sqs-queue-name",
wait_time_seconds=0,
wait_time_seconds=20,
visibility_timeout=300,
daemon=False,
)
Expand Down Expand Up @@ -76,7 +76,7 @@ sqs_client = SQSClient()
queue_name="sqs-queue-name",
lazy=True,
daemon=False,
wait_time_seconds=0,
wait_time_seconds=20,
visibility_timeout=300,
)
def test_task(message, abc):
Expand Down
2 changes: 1 addition & 1 deletion examples/lazy_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@sqs_client.task(
queue_name="sqs-queue-name",
lazy=True,
wait_time_seconds=0,
wait_time_seconds=20,
visibility_timeout=300,
daemon=False,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Subscribe to a SQS
@sqs_client.task(
queue_name="sqs-queue-name",
wait_time_seconds=0,
wait_time_seconds=20,
visibility_timeout=300,
daemon=False,
)
Expand Down

0 comments on commit 4363b44

Please sign in to comment.