Change publish start time from 5 to 1 second
This commit is contained in:
@@ -32,7 +32,7 @@ func Init() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
time.AfterFunc(5*time.Second, func() {
|
time.AfterFunc(time.Second, func() {
|
||||||
for name, dst := range cfg.Publish {
|
for name, dst := range cfg.Publish {
|
||||||
if stream := Get(name); stream != nil {
|
if stream := Get(name); stream != nil {
|
||||||
Publish(stream, dst)
|
Publish(stream, dst)
|
||||||
|
|||||||
Reference in New Issue
Block a user