Skip to content
Snippets Groups Projects
Unverified Commit 26e24bbe authored by Toon Claes's avatar Toon Claes Committed by Kamil Trzcinski
Browse files

Set the Etag cache polling interval

parent 751dae58
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -29,6 +29,8 @@ class Projects::PipelinesController < Projects::ApplicationController
respond_to do |format|
format.html
format.json do
Gitlab::PollingInterval.set_header(response, interval: 10_000)
render json: {
pipelines: PipelineSerializer
.new(project: @project, user: @current_user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment