Skip to content

Fixes a bug where sometimes diff files would not render

Phil Hughes requested to merge ph/327728/fixDiffFilesNotAlwaysRendering into master

What does this MR do?

Fixes a bug where sometimes our diff render queue would get stuck in a loop because the browser never gives us enough time to render. This puts a maximum amount of retires before just rendering the file anyway.

Screenshots (strongly suggested)

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:

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

Closes #327728 (closed)

Merge request reports

Loading