add 1 hour timeout for the job

This commit is contained in:
Tanmay Sharma
2025-07-22 16:15:45 +04:00
parent db25b7d944
commit 0899021777
@@ -1,6 +1,7 @@
# Delete migration and spec after 2 consecutive releases.
class Migration::PopulateContactVerificationJob < ApplicationJob
queue_as :scheduled_jobs
include Sidekiq::Worker
sidekiq_options queue: :scheduled_jobs, timeout: 3_600 # 1 hour
def perform
updated_count = 0