librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

Adds a worker to backfill Version#dependencies_count #3257

Closed tiegz closed 7 months ago

tiegz commented 7 months ago

the backfill rake task one_off:backfill_version_dependencies_count (for https://github.com/librariesio/libraries.io/pull/3255) is taking too long to babysit, so this introduces a worker that does a ~10 second batch of updates, and then re-spawns itself if needed.

tiegz commented 7 months ago

we have an alternate way to backfill these in https://github.com/librariesio/libraries.io/pull/3258