class AsyncExperiments::ExperimentResultCandidateWorker
Constants
- LOCK_TIMEOUT
Public Instance Methods
perform(name, id, run_output, duration, expiry)
click to toggle source
# File lib/async_experiments/experiment_result_candidate_worker.rb, line 11 def perform(name, id, run_output, duration, expiry) Sidekiq.redis do |redis| result = ExperimentResult.new(name, id, :candidate, redis, statsd, run_output, duration) result.store_run_output(expiry) end end
Private Instance Methods
statsd()
click to toggle source
# File lib/async_experiments/experiment_result_candidate_worker.rb, line 20 def statsd AsyncExperiments.statsd end