• Paul Gascou-Vaillancourt's avatar
    Improve on-demand scans polling performances · 186f44f9
    Paul Gascou-Vaillancourt authored
    This reduces the GraphQL polling overhead in the on-demand scans page
    by...
    * ...including an ETag header in the query to prevent hitting the
      database on every request.
    * ...putting the query behind a visibility check to pause the polling
      when the browser tab is not visible.
    * ...increasing the polling interval from 1 to 3 seconds.
    
    Changelog: performance
    EE: true
    186f44f9
constants.js 3.45 KB