Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]:
decrypted before being returned.

:keyword int visibility_timeout:
If not specified, the default value is 0. Specifies the
If not specified, the default value is 30. Specifies the
new visibility timeout value, in seconds, relative to server time.
The value must be larger than or equal to 0, and cannot be
The value must be larger than or equal to 1, and cannot be
larger than 7 days. The visibility timeout of a message cannot be
set to a value later than the expiry time. visibility_timeout
should be set to a value smaller than the time-to-live value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ async def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]:
decrypted before being returned.

:keyword int visibility_timeout:
If not specified, the default value is 0. Specifies the
If not specified, the default value is 30. Specifies the
new visibility timeout value, in seconds, relative to server time.
The value must be larger than or equal to 0, and cannot be
The value must be larger than or equal to 1, and cannot be
larger than 7 days. The visibility timeout of a message cannot be
set to a value later than the expiry time. visibility_timeout
should be set to a value smaller than the time-to-live value.
Expand Down