Skip to content

Commit

Permalink
[doc] clarify ClientTimeout behavior (#6683) (#6685)
Browse files Browse the repository at this point in the history
* [doc] clarify ClientTimeout behavior

be clear that the 5 second timeout is also rounded. see: https://github.com/aio-libs/aiohttp/blob/master/aiohttp/helpers.py#L638

* Update docs/client_reference.rst

Co-authored-by: Sam Bull <aa6bs0@sambull.org>

Co-authored-by: Sam Bull <aa6bs0@sambull.org>
(cherry picked from commit 90964d0)

Co-authored-by: Rafael Stahl <dummdoof-doof@web.de>
  • Loading branch information
patchback[bot] and rafzi committed Apr 10, 2022
1 parent e8c7335 commit 8469eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ ClientTimeout

.. note::

Timeouts larger than 5 seconds are rounded for scheduling on the next
Timeouts of 5 seconds or more are rounded for scheduling on the next
second boundary (an absolute time where microseconds part is zero) for the
sake of performance.

Expand Down

0 comments on commit 8469eba

Please sign in to comment.