Thursday, July 1, 2021

Rails - unregister a Resque worker

workers = Resque.workers.select {|w| w.to_s.include? "942ng"}

workers.each do |w|

  w.unregister_worker

end 

No comments:

Post a Comment

Followers

Blog Archive