Skip to content

This adds a mechanism for supporting long polling for all runners since 1.0.

Kamil Trzcińśki requested to merge support-runners-since-1.0 into master

When we detect that we do not have last_update in request:

  1. we will proxy request to GitLab,
  2. we will record response,
  3. we will check if response is 204 (no build),
  4. we will read header with last update,
  5. we will use token and receive header value to long poll.

This reduces the pressure from old runners running with concurrent=1 by 16x (50s [configured long polling timeout]/3s [default check interval]). We fire one requests once per minute effectively.

Merge request reports