Change publish start time from 5 to 1 second

This commit is contained in:
Alex X
2023-10-11 06:52:23 +03:00
parent 855bbdeb60
commit d4d0064220
+1 -1
View File
@@ -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)