Sha256: 9960eb1bc1b12a53b2aa5e23e7944ad55ec5c4f43b7786ee7fd861dbf69bba5f
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 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
6 entries across 6 versions & 1 rubygems