parent
d54e7ee61e
commit
d0c9ac3919
|
@ -7,6 +7,8 @@ class Scheduler::IndexingScheduler
|
|||
sidekiq_options retry: 0
|
||||
|
||||
def perform
|
||||
return unless Chewy.enabled?
|
||||
|
||||
indexes.each do |type|
|
||||
with_redis do |redis|
|
||||
ids = redis.smembers("chewy:queue:#{type.name}")
|
||||
|
|
Reference in New Issue