diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 22:25:25 +0300 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-09-04 07:22:02 +0300 |
commit | e908e117762d2b5d427b090b9c89b2e58ac382ac (patch) | |
tree | 145d577252857479a5188074d561ddb50c35a529 /lib/gitlab/job_waiter.rb | |
parent | df6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff) |
Avoid calling freeze on already frozen strings in lib/gitlab
Diffstat (limited to 'lib/gitlab/job_waiter.rb')
-rw-r--r-- | lib/gitlab/job_waiter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/job_waiter.rb b/lib/gitlab/job_waiter.rb index e97e961771c..90dbe4d005d 100644 --- a/lib/gitlab/job_waiter.rb +++ b/lib/gitlab/job_waiter.rb @@ -17,7 +17,7 @@ module Gitlab # push to that array when done. Once the waiter has popped `count` items, it # knows all the jobs are done. class JobWaiter - KEY_PREFIX = "gitlab:job_waiter".freeze + KEY_PREFIX = "gitlab:job_waiter" def self.notify(key, jid) Gitlab::Redis::SharedState.with { |redis| redis.lpush(key, jid) } |