mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
![]() Situation: We are using Sidekiq Pro with ActiveSupport. When I passed a object which is ActiveSupport::TimeWithZone to perform_at, `TypeError: can't convert ActiveSupport::TimeWithZone into an exact number` has occurred. Problem: Time can't plus a ActiveSupport::TimeWithZone object. Solution: We can transform any Time object to float, and use it to compare and calculate. |
||
---|---|---|
.. | ||
generators/sidekiq | ||
sidekiq | ||
sidekiq.rb |