sul-dlss / common-accessioning

Suite of robots that handle the tasks of accessioning digital objects
Other
2 stars 1 forks source link

Remove retries from open versions #1382

Closed peetucket closed 1 month ago

peetucket commented 1 month ago

We fixed the race condition in https://github.com/sul-dlss/common-accessioning/pull/1380 and https://github.com/sul-dlss/dor-services-app/pull/5183 so we shouldn't need to retry opening of versions in this class: https://github.com/sul-dlss/common-accessioning/blob/main/lib/dor/text_extraction/version_updater.rb#L21-L38

We can remove the whole class and just call the open version method directly in the places that need it.