Commit 93127cfc authored by Mike Kozono's avatar Mike Kozono

Geo: Reduce unnecessary resource usage

Because they are cronjobs or scheduled only by cronjobs.

Changelog: changed
EE: true
parent 8aeca539
...@@ -4,7 +4,6 @@ module Geo ...@@ -4,7 +4,6 @@ module Geo
module RepositoryVerification module RepositoryVerification
module Primary module Primary
class ShardWorker < Geo::Scheduler::Primary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker class ShardWorker < Geo::Scheduler::Primary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: false
loggable_arguments 0 loggable_arguments 0
attr_accessor :shard_name attr_accessor :shard_name
......
...@@ -6,7 +6,7 @@ module Geo ...@@ -6,7 +6,7 @@ module Geo
data_consistency :always data_consistency :always
sidekiq_options retry: 3 sidekiq_options retry: false
include GeoQueue include GeoQueue
include LimitedCapacity::Worker include LimitedCapacity::Worker
include ::Gitlab::Geo::LogHelpers include ::Gitlab::Geo::LogHelpers
......
...@@ -7,7 +7,7 @@ module Geo ...@@ -7,7 +7,7 @@ module Geo
data_consistency :always data_consistency :always
sidekiq_options retry: 3 sidekiq_options retry: false
include GeoQueue include GeoQueue
include ExclusiveLeaseGuard include ExclusiveLeaseGuard
include ::Gitlab::Geo::LogHelpers include ::Gitlab::Geo::LogHelpers
......
...@@ -6,7 +6,7 @@ module Geo ...@@ -6,7 +6,7 @@ module Geo
data_consistency :always data_consistency :always
sidekiq_options retry: 3 sidekiq_options retry: false
include GeoQueue include GeoQueue
include LimitedCapacity::Worker include LimitedCapacity::Worker
include ::Gitlab::Geo::LogHelpers include ::Gitlab::Geo::LogHelpers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment