storj/satellite/accounting/live
Qweder93 8be655c487 satellite/metainfo: add segment limit validation, caching
We want to be able to limit the number of segments per project for users.
To limit this we need to check limit value associated with project
and value of used segments already in BeginMoveObject, BeginMoveSegment
and increment cache segments usage after each CommitSegment call.

Resolves https://github.com/storj/team-metainfo/issues/1

Change-Id: I6290e67c095a174b9d101c4521802d9bfe0453b8
2022-01-10 14:33:26 +02:00
..
cache.go satellite/satellitedb: use AS OF SYSTEM TIME for GetProjectBandwidth query 2021-06-28 15:19:47 +00:00
doc.go satellite/accounting: Fix and enhance code doc comments 2020-11-04 09:50:48 +00:00
live_test.go redis: Rename functions prefixed with New by Open 2021-03-25 06:09:27 +00:00
redis.go satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00