fix: reduce log interval to 1 second for more frequent statistics updates
All checks were successful
Release Tag / release (push) Successful in 28s
All checks were successful
Release Tag / release (push) Successful in 28s
This commit is contained in:
@@ -128,7 +128,7 @@ func (sc *SteamCache) Run() {
|
|||||||
sc.mu.Unlock()
|
sc.mu.Unlock()
|
||||||
|
|
||||||
sc.LogStats()
|
sc.LogStats()
|
||||||
t := time.NewTicker(10 * time.Second)
|
t := time.NewTicker(1 * time.Second)
|
||||||
go func() {
|
go func() {
|
||||||
for range t.C {
|
for range t.C {
|
||||||
sc.LogStats()
|
sc.LogStats()
|
||||||
|
|||||||
Reference in New Issue
Block a user