From d4d0064220a7a316fb0d05663c6276e0711e1d93 Mon Sep 17 00:00:00 2001 From: Alex X Date: Wed, 11 Oct 2023 06:52:23 +0300 Subject: [PATCH] Change publish start time from 5 to 1 second --- internal/streams/streams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/streams/streams.go b/internal/streams/streams.go index 6aa15dce..afc6c4d3 100644 --- a/internal/streams/streams.go +++ b/internal/streams/streams.go @@ -32,7 +32,7 @@ func Init() { return } - time.AfterFunc(5*time.Second, func() { + time.AfterFunc(time.Second, func() { for name, dst := range cfg.Publish { if stream := Get(name); stream != nil { Publish(stream, dst)