-
- Downloads
There was an error fetching the commit references. Please try again later.
Use etag caching for environments JSON
For the index view, the environments can now be requested every 15 seconds. Any transition state of a projects environments will trigger a cache invalidation action. Fixes gitlab-org/gitlab-ce#31701 Former-commit-id: 4535d520327206e49e438abe8759ccb134955e54
Showing
- app/controllers/projects/environments_controller.rb 2 additions, 0 deletionsapp/controllers/projects/environments_controller.rb
- app/models/environment.rb 12 additions, 0 deletionsapp/models/environment.rb
- lib/gitlab/etag_caching/router.rb 6 additions, 1 deletionlib/gitlab/etag_caching/router.rb
- spec/controllers/projects/environments_controller_spec.rb 20 additions, 0 deletionsspec/controllers/projects/environments_controller_spec.rb
Please register or sign in to comment