Commit d05e6675 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

Merge branch 'yorick/lb-safe-request-store' into 'master'

Use SafeRequestStore in the DB LB

See merge request gitlab-org/gitlab!70003
parents 67346574 2584f6ea
......@@ -245,7 +245,7 @@ module Gitlab
end
def request_cache
base = RequestStore[:gitlab_load_balancer] ||= {}
base = SafeRequestStore[:gitlab_load_balancer] ||= {}
base[self] ||= {}
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment