This project schedules background jobs using the the rufus-scheduler and mlanett-redis-lock gems, with Redis-backed locking.
While running the unit test suite, we're seeing deprecation warnings like the following:
TestScheduler#test_scheduler_locking
= /Users/jlvendetti/.rbenv/versions/3.1.6/lib/ruby/gems/3.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:368:
warning: constant ::Fixnum is deprecated
Some context on the gem versions in use:
mlanett-redis-lock: last released October 2015 (no updates in nearly a decade)
rufus-scheduler: still actively maintained, but we’re pinned to v2.0.24 (October 2013) — now 12 years old
Given the importance of scheduled jobs in the BioPortal system, it’s risky to continue relying on such old versions. We should explore upgrading rufus-scheduler (or alternatives like sidekiq-scheduler).
This project schedules background jobs using the the
rufus-schedulerandmlanett-redis-lockgems, with Redis-backed locking.While running the unit test suite, we're seeing deprecation warnings like the following:
Some context on the gem versions in use:
mlanett-redis-lock: last released October 2015 (no updates in nearly a decade)rufus-scheduler: still actively maintained, but we’re pinned to v2.0.24 (October 2013) — now 12 years oldGiven the importance of scheduled jobs in the BioPortal system, it’s risky to continue relying on such old versions. We should explore upgrading
rufus-scheduler(or alternatives likesidekiq-scheduler).