Skip to content

Commit af35c2b

Browse files
committed
Fixed timeout default
1 parent fcfb2b5 commit af35c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func main() {
5252
Various options can be passed to the client `New` method to control its behaviour:
5353

5454
* `OptEndpoint(value string)` sets the endpoint for all requests
55-
* `OptTimeout(value time.Duration)` sets the timeout on any request, which defaults to 10 seconds
55+
* `OptTimeout(value time.Duration)` sets the timeout on any request, which defaults to 30 seconds
5656
* `OptUserAgent(value string)` sets the user agent string on each API request
5757
* `OptTrace(w io.Writer, verbose bool)` allows you to debug the request and response data.
5858
When `verbose` is set to true, it also displays the payloads

0 commit comments

Comments
 (0)