From d0f1433f64e0244f61e4be0d624e8f7ba1196f76 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 21 Nov 2022 16:22:28 -0800 Subject: [PATCH] Increase timeout to 10s --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.go b/stream.go index e65255ac..377f5498 100644 --- a/stream.go +++ b/stream.go @@ -224,7 +224,7 @@ func (s *Stream) waitForChunk(w http.ResponseWriter, chunk *Chunk) { // Add our channel notif := make(chan bool) chunk.notifs = append(chunk.notifs, notif) - t := time.NewTimer(5 * time.Second) + t := time.NewTimer(10 * time.Second) s.mutex.Unlock()