diff options
author | Gaurav Sharma <gaurav2728@gmail.com> | 2015-10-06 10:34:56 +0530 |
---|---|---|
committer | Gaurav Sharma <gaurav2728@gmail.com> | 2015-10-06 10:34:56 +0530 |
commit | b0a3a688892b035823e28047f176080027cdbb3f (patch) | |
tree | 4ba69251ba4d5724be4c66497f2d56cc483aa51c | |
parent | 31eb88c71d044833064c9d6cd3f79711f938ed84 (diff) | |
download | rails-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
-rw-r--r-- | activejob/lib/active_job/queue_adapters/sneakers_adapter.rb | 2 |
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 |