mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
Add sleep to wait for holder to load
This commit is contained in:
parent
f6d7d1af39
commit
7799d7c680
1 changed files with 1 additions and 0 deletions
1
api.go
1
api.go
|
|
@ -1051,6 +1051,7 @@ func (api *API) RefreshUsageCache(refresh time.Duration) {
|
|||
data: make(map[string]NodeUsage),
|
||||
refreshInterval: refresh,
|
||||
}
|
||||
time.Sleep(30 * time.Second)
|
||||
for {
|
||||
fmt.Println(1)
|
||||
api.calculateUsage()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue