diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /config/settings.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) | |
download | gitlab-ce-e8d2c2579383897a1dd7f9debd359abe8ae8373d.tar.gz |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'config/settings.rb')
-rw-r--r-- | config/settings.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/settings.rb b/config/settings.rb index a88f6d89ce4..768ad9d284f 100644 --- a/config/settings.rb +++ b/config/settings.rb @@ -163,7 +163,7 @@ class Settings < Settingslogic end def load_dynamic_cron_schedules! - cron_jobs['gitlab_usage_ping_worker']['cron'] ||= cron_for_usage_ping + cron_jobs['gitlab_service_ping_worker']['cron'] ||= cron_for_service_ping end private @@ -197,7 +197,7 @@ class Settings < Settingslogic # Runs at a consistent random time of day on a day of the week based on # the instance UUID. This is to balance the load on the service receiving # these pings. The sidekiq job handles temporary http failures. - def cron_for_usage_ping + def cron_for_service_ping # Set a default UUID for the case when the UUID hasn't been initialized. uuid = Gitlab::CurrentSettings.uuid || 'uuid-not-set' |