developer-portal
developer-portal copied to clipboard
Consider throttling invalidations
If someone goes and publishes a lot of new content in rapid succession (eg approving auto-generated posts ingested from another Mozilla blog), then we can face CDN invalidation issues:
https://sentry.prod.mozaws.net/operations/developer-portal-stage/issues/7146814/?query=is:unresolved
TooManyInvalidationsInProgress
`developerportal.apps.taskqueue.tasks.invalidate_entire_cdn An error occurred (TooManyInvalidationsInProgress) when calling the CreateInvalidation operation: Processing your request will cause you to exceed the maximum number of in-progress wildcard invalidations.
We need to think about this and ways to avoid triggering this situation.