Commit 9e8c7f45 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'tc-geo-boost-prune-worker' into 'master'

Boost Geo prune worker to run every 2 hours instead of 6

Closes gitlab-com/infrastructure#4231

See merge request gitlab-org/gitlab-ee!6074
parents 8ef6fd0b 201561b4
...@@ -294,7 +294,7 @@ production: &base ...@@ -294,7 +294,7 @@ production: &base
# GitLab Geo prune event log worker # GitLab Geo prune event log worker
# NOTE: This will only take effect if Geo is enabled (primary node only) # NOTE: This will only take effect if Geo is enabled (primary node only)
geo_prune_event_log_worker: geo_prune_event_log_worker:
cron: "0 */6 * * *" cron: "0 */2 * * *"
# GitLab Geo repository sync worker # GitLab Geo repository sync worker
# NOTE: This will only take effect if Geo is enabled (secondary nodes only) # NOTE: This will only take effect if Geo is enabled (secondary nodes only)
......
...@@ -327,7 +327,7 @@ Settings.cron_jobs['geo_file_download_dispatch_worker'] ||= Settingslogic.new({} ...@@ -327,7 +327,7 @@ Settings.cron_jobs['geo_file_download_dispatch_worker'] ||= Settingslogic.new({}
Settings.cron_jobs['geo_file_download_dispatch_worker']['cron'] ||= '*/1 * * * *' Settings.cron_jobs['geo_file_download_dispatch_worker']['cron'] ||= '*/1 * * * *'
Settings.cron_jobs['geo_file_download_dispatch_worker']['job_class'] ||= 'Geo::FileDownloadDispatchWorker' Settings.cron_jobs['geo_file_download_dispatch_worker']['job_class'] ||= 'Geo::FileDownloadDispatchWorker'
Settings.cron_jobs['geo_prune_event_log_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['geo_prune_event_log_worker'] ||= Settingslogic.new({})
Settings.cron_jobs['geo_prune_event_log_worker']['cron'] ||= '0 */6 * * *' Settings.cron_jobs['geo_prune_event_log_worker']['cron'] ||= '0 */2 * * *'
Settings.cron_jobs['geo_prune_event_log_worker']['job_class'] ||= 'Geo::PruneEventLogWorker' Settings.cron_jobs['geo_prune_event_log_worker']['job_class'] ||= 'Geo::PruneEventLogWorker'
Settings.cron_jobs['geo_repository_verification_primary_batch_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['geo_repository_verification_primary_batch_worker'] ||= Settingslogic.new({})
Settings.cron_jobs['geo_repository_verification_primary_batch_worker']['cron'] ||= '*/1 * * * *' Settings.cron_jobs['geo_repository_verification_primary_batch_worker']['cron'] ||= '*/1 * * * *'
......
---
title: Boost Geo prune worker to run every 2 hours instead of 6
merge_request: 6074
author:
type: performance
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