This commit is contained in:
Max Lerebourg
2022-10-01 19:23:20 +02:00
parent 1e4508f091
commit dd704d4274
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -122,6 +122,7 @@ func New(ctx context.Context, next http.Handler, config *Config, name string) (h
}
ticker := time.NewTicker(time.Duration(config.UpdateIntervalSeconds) * time.Second)
go func() {
go handleStreamCache(bouncer)
for range ticker.C {
go handleStreamCache(bouncer)
}