dlcs / protagonist

MIT License
7 stars 2 forks source link

Allow 'NoStorageCheck' in API #905

Open donaldgray opened 2 months ago

donaldgray commented 2 months ago

Engine allows specifying an customer override appsetting that allows specific customer to opt out of storage checks. This is for non-shared infra where storage limits are not enforced.

The API now makes some storage checks to confirm the current customer has allowance prior to ingestion to avoid any compute costs, however this doesn't check if the customer is opted out. The storage policy limits on non-shared infra are very generous so it's highly unlikely that they would ever be hit but we should respect the option to opt out in API as well as Engine.