diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 18:08:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 18:08:54 +0300 |
commit | 05003789d95f2f5d28a2f018d9e1b51ad7ab983c (patch) | |
tree | 83d44f269e744b49c24b138ea86d134ecb254539 /lib/gitlab/ci/trace.rb | |
parent | 50d66f5ece57dcfbe074d97703691a8d3c38f4ac (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/trace.rb')
-rw-r--r-- | lib/gitlab/ci/trace.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb index a177f56f434..94f7da8eebe 100644 --- a/lib/gitlab/ci/trace.rb +++ b/lib/gitlab/ci/trace.rb @@ -11,7 +11,6 @@ module Gitlab LOCK_SLEEP = 0.001.seconds WATCH_FLAG_TTL = 10.seconds - LEGACY_UPDATE_FREQUENCY_DEFAULT = 30.seconds UPDATE_FREQUENCY_DEFAULT = 60.seconds UPDATE_FREQUENCY_WHEN_BEING_WATCHED = 3.seconds @@ -118,11 +117,7 @@ module Gitlab if being_watched? UPDATE_FREQUENCY_WHEN_BEING_WATCHED else - if Feature.enabled?(:ci_lower_frequency_trace_update, job.project, default_enabled: :yaml) - UPDATE_FREQUENCY_DEFAULT - else - LEGACY_UPDATE_FREQUENCY_DEFAULT - end + UPDATE_FREQUENCY_DEFAULT end end |