InternetHealthReport / ihr-website

Vue.js code for IHR website
https://ihr.iijlab.net/ihr/en
GNU General Public License v3.0
65 stars 122 forks source link

Two unecessary queries when loading ASHegemony chart #808

Closed romain-fontugne closed 5 months ago

romain-fontugne commented 5 months ago

Describe the bug When the ASHegemony chart is loading there is two queries (looks same to the queries made when clicking on the graph) that are executed but that are completely unnecessary. This is add more load to our backend and slow down the loading of this chart.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://ihr.iijlab.net/ihr/en/network/AS2497?af=4&last=3&date=2024-06-19&active=monitoring
  2. See error, in network tab of the debug tools of your browser

Expected behavior A clear and concise description of what you expected to happen.

Screenshots When loading this, https://ihr.iijlab.net/ihr/en/network/AS2497?af=4&last=3&date=2024-06-19&active=monitoring : image

we get these unnecessary queries: image