summaryrefslogtreecommitdiff
path: root/workhorse/main.go
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-16 09:11:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-16 09:11:45 +0000
commit6f9c158ef16de95f0f0505623e0b73086fadea35 (patch)
treeb962aa56d916c85283c094ba34a80f547d981d77 /workhorse/main.go
parent2800e6ea59112f31833f8241a9a2f04ae8f7faa1 (diff)
downloadgitlab-ce-6f9c158ef16de95f0f0505623e0b73086fadea35.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/main.go')
-rw-r--r--workhorse/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/workhorse/main.go b/workhorse/main.go
index 027575747f4..b0f9760b0d5 100644
--- a/workhorse/main.go
+++ b/workhorse/main.go
@@ -220,9 +220,7 @@ func run(boot bootConfig, cfg config.Config) error {
secret.SetPath(boot.secretPath)
- keyWatcher := redis.NewKeyWatcher(
- os.Getenv("GITLAB_WORKHORSE_REDIS_SUBSCRIBE_MANY") == "1",
- )
+ keyWatcher := redis.NewKeyWatcher()
if cfg.Redis != nil {
redis.Configure(cfg.Redis, redis.DefaultDialFunc)
go keyWatcher.Process()