diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-16 09:11:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-16 09:11:45 +0000 |
commit | 6f9c158ef16de95f0f0505623e0b73086fadea35 (patch) | |
tree | b962aa56d916c85283c094ba34a80f547d981d77 /workhorse/main.go | |
parent | 2800e6ea59112f31833f8241a9a2f04ae8f7faa1 (diff) | |
download | gitlab-ce-6f9c158ef16de95f0f0505623e0b73086fadea35.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/main.go')
-rw-r--r-- | workhorse/main.go | 4 |
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() |