aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-01-09 11:48:49 +0100
committerTeddy Wing2018-01-09 11:48:49 +0100
commitb39cbc049bfa391e9d9fb71852bd8ce34e1d34a4 (patch)
tree000d63067838119c91d3ca15b2d31ef976394708
parent3487ce6f34ef187a2a8daf170440f51f659c46b7 (diff)
downloadchouette-core-b39cbc049bfa391e9d9fb71852bd8ce34e1d34a4.tar.bz2
Remove `retry: false` from workers since it's the new default
As of 3487ce6f34ef187a2a8daf170440f51f659c46b7, we now default to `retry: false` on all our Sidekiq workers. Setting it in individual workers is now repetitious. Refs #5495
-rw-r--r--app/workers/clean_up_worker.rb1
-rw-r--r--app/workers/line_referential_sync_worker.rb1
-rw-r--r--app/workers/stop_area_referential_sync_worker.rb1
3 files changed, 0 insertions, 3 deletions
diff --git a/app/workers/clean_up_worker.rb b/app/workers/clean_up_worker.rb
index 2d76b3a68..9a7c3aa5a 100644
--- a/app/workers/clean_up_worker.rb
+++ b/app/workers/clean_up_worker.rb
@@ -1,6 +1,5 @@
class CleanUpWorker
include Sidekiq::Worker
- sidekiq_options :retry => false
def perform(id)
cleaner = CleanUp.find id
diff --git a/app/workers/line_referential_sync_worker.rb b/app/workers/line_referential_sync_worker.rb
index 253b8a53c..9419e6333 100644
--- a/app/workers/line_referential_sync_worker.rb
+++ b/app/workers/line_referential_sync_worker.rb
@@ -1,6 +1,5 @@
class LineReferentialSyncWorker
include Sidekiq::Worker
- sidekiq_options :retry => false
def process_time
Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)
diff --git a/app/workers/stop_area_referential_sync_worker.rb b/app/workers/stop_area_referential_sync_worker.rb
index 08bcf4f5f..f6ed9171e 100644
--- a/app/workers/stop_area_referential_sync_worker.rb
+++ b/app/workers/stop_area_referential_sync_worker.rb
@@ -1,6 +1,5 @@
class StopAreaReferentialSyncWorker
include Sidekiq::Worker
- sidekiq_options :retry => false
def process_time
Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)