02be91b029
Ran into difficulties trying to find the ideal solution for sharing these counts between multiple satellite servers, so for now this is a dumb solution storing recent space-usage changes in a big dumb in-memory map with a big dumb lock around it. The interface used, though, should allow us to swap out the implementation without much difficulty elsewhere once we know what we want it to be.
10 lines
297 B
Go
10 lines
297 B
Go
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
/*
|
|
Package live provides live accounting functionality. That is, it keeps track
|
|
of deltas in the amount of storage used by each project relative to the last
|
|
tally operation (see pkg/accounting/tally).
|
|
*/
|
|
package live
|