Commit d97e5550 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'mk/remove-unused-code' into 'master'

Remove unused code in Geo::PruneEventLogWorker

See merge request gitlab-org/gitlab!26621
parents 6149be16 67e71eac
......@@ -7,13 +7,10 @@ module Geo
# This worker does not perform work scoped to a context
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
include ::Gitlab::Utils::StrongMemoize
include ::Gitlab::Geo::LogHelpers
feature_category :geo_replication
LEASE_TIMEOUT = 5.minutes
def perform
return if Gitlab::Database.read_only?
return unless Gitlab::Database.healthy?
......
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