-
- Downloads
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
- Gemfile 1 addition, 1 deletionGemfile
- Gemfile.lock 9 additions, 7 deletionsGemfile.lock
- app/controllers/concerns/with_performance_bar.rb 6 additions, 0 deletionsapp/controllers/concerns/with_performance_bar.rb
- app/views/peek/_bar.html.haml 1 addition, 1 deletionapp/views/peek/_bar.html.haml
- changelogs/unreleased/fix-peek-on-puma.yml 5 additions, 0 deletionschangelogs/unreleased/fix-peek-on-puma.yml
- lib/gitlab/performance_bar/redis_adapter_when_peek_enabled.rb 2 additions, 2 deletions...gitlab/performance_bar/redis_adapter_when_peek_enabled.rb
Loading
| Loading
| @@ -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' | ||
Loading
| Loading
|
changelogs/unreleased/fix-peek-on-puma.yml
0 → 100644
Please register or sign in to comment