Fix Geo::BaseSchedulerWorker

parent 3519818b
...@@ -24,7 +24,7 @@ module Geo ...@@ -24,7 +24,7 @@ module Geo
# remaining jobs, excluding ones in progress. # remaining jobs, excluding ones in progress.
# 5. Quit when we have scheduled all jobs or exceeded MAX_RUNTIME. # 5. Quit when we have scheduled all jobs or exceeded MAX_RUNTIME.
def perform def perform
return unless Gitlab::Geo.secondary_role_enabled? return unless Gitlab::Geo.geo_database_configured?
return unless Gitlab::Geo.secondary? return unless Gitlab::Geo.secondary?
logger.info "Started #{self.class.name}" logger.info "Started #{self.class.name}"
......
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