From 9eec4db1f12a9b0e15446156b8da209f0396df68 Mon Sep 17 00:00:00 2001 From: Maxim Fominykh Date: Sat, 11 Jan 2020 05:31:42 +0500 Subject: [PATCH] Duration order consistency when multiplying number by time unit --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.go b/stream.go index 5970877..fa85350 100644 --- a/stream.go +++ b/stream.go @@ -66,7 +66,7 @@ func SubscribeWith(lastEventId string, client *http.Client, request *http.Reques c: client, req: request, lastEventId: lastEventId, - retry: time.Millisecond * 3000, + retry: 3000 * time.Millisecond, Events: make(chan Event), Errors: make(chan error), }