storj/satellite/satellitedb/dbx
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
..
gen.go fix saving uplink public key on satellite (#1797) 2019-04-23 15:48:57 -04:00
satellitedb.dbx Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00
satellitedb.dbx.go Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00
satellitedb.dbx.postgres.sql Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00
satellitedb.dbx.sqlite3.sql Per-project usage limiting (#2036) 2019-05-28 09:36:52 -06:00