aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorAri Pollak <ajp@aripollak.com>2014-10-08 13:41:38 -0400
committerAri Pollak <ajp@aripollak.com>2014-10-08 13:41:38 -0400
commit1472e0cf2c013370813ee45245f7cd781ef3b794 (patch)
treeef9d7a30f92f577da2e9ada8e98df598b4eb65ef /activejob
parentee9f86e2e3e91f0b3b079b4931afa65d23b68e8a (diff)
downloadrails-1472e0cf2c013370813ee45245f7cd781ef3b794.tar.gz
rails-1472e0cf2c013370813ee45245f7cd781ef3b794.tar.bz2
rails-1472e0cf2c013370813ee45245f7cd781ef3b794.zip
Don't pass retry option to Sidekiq
* This would override whatever default is configured in Sidekiq system-wide, and retry is true by default anyway.
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb b/activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb
index 7d80a6fd7a..21005fc728 100644
--- a/activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb
+++ b/activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb
@@ -21,8 +21,7 @@ module ActiveJob
Sidekiq::Client.push \
'class' => JobWrapper,
'queue' => job.queue_name,
- 'args' => [ job.serialize ],
- 'retry' => true
+ 'args' => [ job.serialize ]
end
def enqueue_at(job, timestamp) #:nodoc:
@@ -30,7 +29,6 @@ module ActiveJob
'class' => JobWrapper,
'queue' => job.queue_name,
'args' => [ job.serialize ],
- 'retry' => true,
'at' => timestamp
end
end