mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
Merge branch 'reset-cache-on-schema' of github.com:54mir/pilosa into reset-cache-on-schema
This commit is contained in:
commit
bfc90d148d
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