diff --git a/app/jobs/multi_region_kms_migration/profile_migration_job.rb b/app/jobs/multi_region_kms_migration/profile_migration_job.rb index 9e004b1f8d3..0e79aa2fedc 100644 --- a/app/jobs/multi_region_kms_migration/profile_migration_job.rb +++ b/app/jobs/multi_region_kms_migration/profile_migration_job.rb @@ -1,5 +1,7 @@ module MultiRegionKmsMigration class ProfileMigrationJob < ApplicationJob + queue_as :long_running + MAXIMUM_ERROR_TOLERANCE = 10 include ::NewRelic::Agent::MethodTracer diff --git a/app/jobs/multi_region_kms_migration/user_migration_job.rb b/app/jobs/multi_region_kms_migration/user_migration_job.rb index 8314e43dc3e..0a8a0b67452 100644 --- a/app/jobs/multi_region_kms_migration/user_migration_job.rb +++ b/app/jobs/multi_region_kms_migration/user_migration_job.rb @@ -1,5 +1,7 @@ module MultiRegionKmsMigration class UserMigrationJob < ApplicationJob + queue_as :long_running + MAXIMUM_ERROR_TOLERANCE = 10 include ::NewRelic::Agent::MethodTracer