browsertrix
browsertrix copied to clipboard
Move potentially long-running tasks to background jobs
trafficstars
We have a few API endpoints where it would be better to respond 200 early and move the logic of the endpoint into a background job that can be queued and retried if necessary.
Specifically,areas where this would be helpful:
- [ ] Org deletion (same note as above)
- [ ] Recalculating org storage
- [ ] Org import (possibly?)