Skip to content

Commit

Permalink
Negative timeouts are actually not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-kraemer authored Mar 12, 2023
1 parent 4ff0ff0 commit 8636307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,12 @@ request <em>(optional)</em></dd>
request <em>(optional)</em></dd>
<dt>connectTimeout</dt>
<dd>The maximum number of milliseconds to wait until a connection is established.
A value of <code>0</code> (zero) means infinite timeout. A negative value
is interpreted as undefined. <em>(default: <code>30 seconds</code>)</em></dd>
A value of <code>0</code> (zero) means infinite timeout. Negative values
are not allowed. <em>(default: <code>30 seconds</code>)</em></dd>
<dt>readTimeout</dt>
<dd>The maximum time in milliseconds to wait for data from the server.
A value of <code>0</code> (zero) means infinite timeout. A negative value
is interpreted as undefined. <em>(default: <code>30 seconds</code>)</em></dd>
A value of <code>0</code> (zero) means infinite timeout. Negative values
are not allowed. <em>(default: <code>30 seconds</code>)</em></dd>
<dt>retries</dt>
<dd>Specifies the maximum number of retry attempts if a request has failed.
By default, requests are never retried and the task fails immediately if the
Expand Down

0 comments on commit 8636307

Please sign in to comment.