diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 00:08:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 00:08:30 +0000 |
commit | e91080371b32e69d038b3a94261688c09dbcd641 (patch) | |
tree | b2048c031771a959f28368de5932122b0e2ca749 /lib | |
parent | 32cfd14a94117d1e56524727e7d1b649493f5790 (diff) | |
download | gitlab-ce-e91080371b32e69d038b3a94261688c09dbcd641.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feature/shared.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/feature/shared.rb b/lib/feature/shared.rb index 6af24451322..d801070ff1a 100644 --- a/lib/feature/shared.rb +++ b/lib/feature/shared.rb @@ -54,6 +54,17 @@ module Feature example: <<-EOS experiment(:my_experiment, project: project, actor: current_user) { ...variant code... } EOS + }, + worker: { + description: "Feature flags for controlling Sidekiq workers behavior (e.g. deferring jobs)", + optional: true, + rollout_issue: false, + ee_only: false, + default_enabled: false, + example: '<<-EOS + Feature.enabled?(:"defer_sidekiq_jobs:AuthorizedProjectsWorker", type: :worker, + default_enabled_if_undefined: false) + EOS' } }.freeze |