Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

Commit

Permalink
Update timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Nov 2, 2018
1 parent 733a0cc commit 507e5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nats-req.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
defer nc.Close()
subj, payload := args[0], []byte(args[1])

msg, err := nc.Request(subj, []byte(payload), 100*time.Millisecond)
msg, err := nc.Request(subj, []byte(payload), 500*time.Millisecond)
if err != nil {
if nc.LastError() != nil {
log.Fatalf("Error in Request: %v\n", nc.LastError())
Expand Down

0 comments on commit 507e5b3

Please sign in to comment.