Adding an option to gitlab.rb to make geo_metrics_update_worker interval configurable as a temporary fix to alleviate excessive DB load.
Relates to gitlab#499952 (closed)
Changelog: added
EE: true
gitlab.rb
file, add the following line:
gitlab_rails['geo_metrics_update_worker_cron'] = '*/30 * * * *'
sudo gitlab-ctl reconfigure
sudo gitlab-rails console
Gitlab::Geo.current_node.cron_jobs['geo_metrics_update_worker']['cron']
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion.
If you don't have access to this, the reviewer should trigger these jobs for you during the review process.
Trigger:ee-package
jobs have a green pipeline running against latest commit.config/software
or config/patches
directories are changed, make sure the build-package-on-all-os
job within the Trigger:ee-package
downstream pipeline succeeded.Trigger:package:fips
manual job within the Trigger:ee-package
downstream pipeline must succeed.dev.gitlab.org
to confirm regular branch builds aren't broken.10
, duration 10s
, URI scheme://user:passwd@host:port
may require quotation or other special handling when rendered in a template and written to a configuration file.