adjust timing

This commit is contained in:
Samir Patel 2021-05-27 21:20:23 -05:00 committed by Samir Patel
parent 8824dddc3a
commit 5cbf828588

2
api.go
View file

@ -1079,7 +1079,7 @@ func (api *API) RefreshUsageCache(refresh time.Duration) {
refreshInterval: refresh,
}
fmt.Println("Loop: 0")
time.Sleep(time.Second * 2)
time.Sleep(time.Second * 5)
for {
fmt.Println("Loop: 1")
api.calculateUsage()