Skip to content

Commit

Permalink
PA-26431 Fix Insrequester Timeout Data Type
Browse files Browse the repository at this point in the history
  • Loading branch information
rafet committed Apr 25, 2024
1 parent 6dcc60e commit eadbd98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions insrequester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ requester.WithCircuitbreaker(circuitBreakerConfig)
For setting a timeout on requests, you can utilize the WithTimeout method:

```go
timeoutSeconds := 30
requester.WithTimeout(timeoutSeconds) // this timeout overrides the default timeout
timeout := 30 * time.Duration
requester.WithTimeout(timeout) // this timeout overrides the default timeout
```

#### Default Headers
Expand Down

0 comments on commit eadbd98

Please sign in to comment.