Sha256: 8e981b47b9291a637cb8b178e2ac3f19d414e441b7ad6981af4a7f580cd82c1a
Contents?: true
Size: 541 Bytes
Versions: 36
Compression:
Stored size: 541 Bytes
Contents
module HttpUtilities module Jobs module Sidekiq module Proxies class CheckProxyJob include ::Sidekiq::Worker sidekiq_options :queue => :proxies def perform(proxy_id) proxy_object = ::Proxy.where(id: proxy_id).first if (proxy_object) checker = HttpUtilities::Proxies::ProxyChecker.new checker.check_proxy(proxy_object) checker.update_proxies end end end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems