Skip to content

Commit

Permalink
Visibility Timeout Doc Correction (#21463)
Browse files Browse the repository at this point in the history
* settings files

* gitignore

* fixed documentation

* async
  • Loading branch information
tasherif-msft authored May 4, 2022
1 parent 9259314 commit 1818ade
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,9 +590,9 @@ def receive_messages(self, **kwargs):
:caption: List pages and corresponding messages from the queue.
: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 @@ -483,9 +483,9 @@ def receive_messages(self, **kwargs):
`by_page()` can be used to provide a page iterator on the AsyncItemPaged if messages_per_page is set.
`next()` can be used to get the next page.
: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

0 comments on commit 1818ade

Please sign in to comment.