-
- 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
Please register or sign in to comment