mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
update comment
This commit is contained in:
parent
9b11ded9e3
commit
268e710e69
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
|
@ -952,7 +952,7 @@ type MemoryUsage struct {
|
|||
TotalUse uint64 `json:"totalInUse"`
|
||||
}
|
||||
|
||||
// Returns disk usage from cache. Waits for calculation if cache is empty.
|
||||
// Returns disk usage from cache if cache is large. It will recalculate on the spot of the last cacluation was under 5 seconds.
|
||||
func (api *API) Usage(ctx context.Context, remote bool) (map[string]NodeUsage, error) {
|
||||
span, _ := tracing.StartSpanFromContext(ctx, "API.Usage")
|
||||
defer span.Finish()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue