aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2015-10-06 10:34:56 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2015-10-06 10:34:56 +0530
commitb0a3a688892b035823e28047f176080027cdbb3f (patch)
tree4ba69251ba4d5724be4c66497f2d56cc483aa51c /activejob
parent31eb88c71d044833064c9d6cd3f79711f938ed84 (diff)
downloadrails-b0a3a688892b035823e28047f176080027cdbb3f.tar.gz
rails-b0a3a688892b035823e28047f176080027cdbb3f.tar.bz2
rails-b0a3a688892b035823e28047f176080027cdbb3f.zip
monitor is require for SneakersAdapter
we are using `@monitor = Monitor.new` that inherit from Monitor class, we leave behind this commit https://github.com/rails/rails/commit/cbfc8b36
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/queue_adapters/sneakers_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/queue_adapters/sneakers_adapter.rb b/activejob/lib/active_job/queue_adapters/sneakers_adapter.rb
index f102c6567e..d78bdecdcb 100644
--- a/activejob/lib/active_job/queue_adapters/sneakers_adapter.rb
+++ b/activejob/lib/active_job/queue_adapters/sneakers_adapter.rb
@@ -1,5 +1,5 @@
require 'sneakers'
-require 'thread'
+require 'monitor'
module ActiveJob
module QueueAdapters