mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
set lastUpdated after cache calculation
This commit is contained in:
parent
20f8479f41
commit
be10927ca7
1 changed files with 1 additions and 0 deletions
1
api.go
1
api.go
|
|
@ -1046,6 +1046,7 @@ func (api *API) calculateUsage() {
|
|||
cache.data[api.server.nodeID] = nodeUsage
|
||||
|
||||
}
|
||||
cache.lastUpdated = time.Now()
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue