sul-dlss / argo

The administrative discovery interface for Stanford's Digital Object Registry
Other
21 stars 5 forks source link

Use the "low" priority queue for bulk action republish #4638

Closed andrewjbtw closed 2 months ago

andrewjbtw commented 2 months ago

The Argo bulk action republish feature starts uses the default publish queue. When running a large bulk action republish, this can result in a large backlog of queued jobs that also slows down accessioning because they share the same queue for the "publish" step in accessioning.

Screenshot 2024-08-21 at 5 07 35 PM

If we can put the bulk action republishes in the "low" queue, then they should not interfere with accessioning. Accessioning tends to be sporadic so there should be plenty of time for items in the low queue to catch up when there is little accessioning activity. It's ok if bulk action republishes take a bit longer this way.

Additional context

I occasionally start large bulk action republishes after hours in order to avoid interfering with accessioning. So I, personally, would benefit from being able to run them during business hours. Examples of where a bulk action republish is needed: