Closed as not planned
Description
Summary
We need to be able to limit storage usage for databases. A background job should be used to fetch the limits from Cloud on an interval and atomically update some Limits
struct.
This issue does not cover actually preventing the database from going over the limit.
Blocked on #326 and https://github.com/GlareDB/cloud/issues/300
Specifications
- Add method to Cloud Client for retrieving limit.
- Add background job pulling limits from Cloud.
- Update some
Limits
struct atomically with the limit.
Rationale
Limit database storage usage.
Impact
Need endpoint on cloud for retrieving limits.
Tasks
See specs.