aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/workers/line_referential_sync_worker.rb1
-rw-r--r--app/workers/stop_area_referential_sync_worker.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/line_referential_sync_worker.rb b/app/workers/line_referential_sync_worker.rb
index 9419e6333..1303a63fd 100644
--- a/app/workers/line_referential_sync_worker.rb
+++ b/app/workers/line_referential_sync_worker.rb
@@ -1,5 +1,6 @@
class LineReferentialSyncWorker
include Sidekiq::Worker
+ sidekiq_options retry: true
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 f6ed9171e..3de351a91 100644
--- a/app/workers/stop_area_referential_sync_worker.rb
+++ b/app/workers/stop_area_referential_sync_worker.rb
@@ -1,5 +1,6 @@
class StopAreaReferentialSyncWorker
include Sidekiq::Worker
+ sidekiq_options retry: true
def process_time
Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)