Skip to content

Commit

Permalink
fix_send_message
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm0000 committed Aug 1, 2024
1 parent 6b6da03 commit cfe2cdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "dean_utils"
version="0.0.23"
version="0.0.24"
authors=[
{ name="Dean MacGregor", email="[email protected]"}
]
Expand Down
8 changes: 7 additions & 1 deletion src/dean_utils/utils/az_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ async def send_message(
else:
if not isinstance(messages, str):
messages = json.dumps(messages)
return await aio_client.send_message(messages)
return await aio_client.send_message(
messages,
visibility_timeout=visibility_timeout,
time_to_live=time_to_live,
timeout=timeout,
**kwargs,
)


async def update_queue(
Expand Down

0 comments on commit cfe2cdc

Please sign in to comment.