What does this MR do?
This MR replaces
setTimeout to prevent highly frequent requests in build.js.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
As described in #28212 (closed), XHR requests to the server occur every 4.0 s when browsing a specific Job (formally Build) page. Especially when the response of the XHR is slower than 4.0 sec (typically large and complicated build trace), multiple requests happen, which may cause DoS.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
Changelog entry added
- [n/a] Documentation created/updated
- [n/a] API support added
- [n/a] Added for this feature/bug
All builds are passing
Conform by the merge request performance guides
Conform by the style guides
Branch has no merge conflicts with
master(if it does - rebase it please)
Squashed related commits together
What are the relevant issue numbers?
Closes #28212 (closed)