mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Update api.go
Co-authored-by: Alan Bernstein <alanaaronbernstein@gmail.com>
This commit is contained in:
parent
8bf472bb75
commit
11207fc589
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
|
@ -960,7 +960,7 @@ func (api *API) Usage(ctx context.Context, remote bool) (map[string]NodeUsage, e
|
|||
if api.usageCache.lastCalcDuration < (time.Second * 5) {
|
||||
err := api.ResetUsageCache()
|
||||
if err != nil {
|
||||
api.server.logger.Infof("could not reset cache: %s", err)
|
||||
api.server.logger.Infof("could not reset usageCache: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue