Fix Peek on Puma
Peek's `Peek.request_id` method doesn't work well with a multi-threaded server and concurrent requests, because requests can 'steal' another request's ID, or unset it before it was due. The upstream change resolves this; the commit here is just to ensure that GitLab works with that upstream change, mostly by not using `Peek.request_id` any more (as the method doesn't exist).
Showing
... | ... | @@ -295,7 +295,7 @@ gem 'gettext', '~> 3.2.2', require: false, group: :development |
gem 'batch-loader', '~> 1.4.0' | ||
# Perf bar | ||
gem 'peek', '~> 1.0.1' | ||
gem 'peek', git: 'https://github.com/smcgivern/peek', branch: 'remove-peek-request-id' | ||
# Snowplow events tracking | ||
gem 'snowplow-tracker', '~> 0.6.1' | ||
... | ... |
Please register or sign in to comment