storj/satellite/metainfo
Michal Niewrzal f731267e8c Per-project usage limiting (#2036)
What: Changes to support custom usage limit for the project. With this implementation by default project usage limit is taken from configuration flag. If project DB field usage_limit will be set to value larger than 0 it will become custom usage limit and we will be used to verify is limit was exceeded.

Whats changed:

usage_limit (bigint) field added to projects table (with migration)
things related to project usage moved from metainfo endpoint to project usage type
accounting.ProjectAccounting extended with GetProjectUsageLimits() method
Why: We need to have different usage limits per project. https://storjlabs.atlassian.net/browse/V3-1814
2019-05-28 09:36:52 -06:00
..
config.go add postgres support to storj-sim (#1908) 2019-05-14 08:13:18 -07:00
metainfo_test.go server side macaroons (#1945) 2019-05-24 10:51:27 -06:00
metainfo.go Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00
service.go Move pointerdb.Service to satellite (#1826) 2019-04-25 10:46:32 +02:00