Sha256: a814083328a72f4211bf156a95eca81a2c6821055a5ffe0c8ee70a91e10b9bca
Contents?: true
Size: 437 Bytes
Versions: 75
Compression:
Stored size: 437 Bytes
Contents
require "resque" redis_server = Rubber.instances.for_role('redis_master').first.full_name rescue nil redis_server ||= 'localhost' if Rubber.env == 'development' Resque.redis = "#{redis_server}:6379" puts "PUTVAL #{HOSTNAME}/resque/derive-jobs_processed interval=#{INTERVAL} N:#{Resque.redis.get("stat:processed").to_i}" puts "PUTVAL #{HOSTNAME}/resque/derive-jobs_failed interval=#{INTERVAL} N:#{Resque.redis.get("stat:failed").to_i}"
Version data entries
75 entries across 75 versions & 1 rubygems