Skip to content

Commit f5f79a3

Browse files
matthusbyscrogson
authored andcommitted
Documentation update for network timeout (#68)
Per the docs for hackney (https://github.com/benoitc/hackney/blob/master/doc/hackney.md) the option for setting the timeout is `recv_timeout` instead of `timeout`
1 parent c0459d7 commit f5f79a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oauth2/client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ defmodule OAuth2.Client do
205205
206206
## Options
207207
208-
* `:timeout` - the timeout (in milliseconds) of the request
208+
* `:recv_timeout` - the timeout (in milliseconds) of the request
209209
* `:proxy` - a proxy to be used for the request; it can be a regular url or a
210210
`{Host, Proxy}` tuple
211211
"""

0 commit comments

Comments
 (0)