Skip to content

Ensure that error tracking frontend only polls when required

Tristan Read requested to merge tr-fix-frontend-polling into master

What does this MR do?

The error tracking backend added support for the POLL-INTERVAL header in this MR: !22070 (merged).

This MR ensures that the frontend no longer bypasses that header by removing the automatic re-poll that was occurring when a 2XX response was received.

After this change, the frontend will no longer fire off polling requests many times per sec, but instead will wait for the appropriate length of time as specified by the header.

More detail in the issue: #119038 (closed).

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [n/a] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [n/a] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [n/a] Security reports checked/validated by a reviewer from the AppSec team
Edited by Tristan Read

Merge request reports