cloudflare / speedtest

Component to perform network speed tests against Cloudflare's edge network
https://speed.cloudflare.com
MIT License
459 stars 34 forks source link

Infinite empty requests #37

Closed didoshotev closed 4 months ago

didoshotev commented 5 months ago

When conducting a 15-second speed test, the API continues to make empty requests even after the test is completed. These requests persist until the browser tab is closed, resulting in thousands of unnecessary requests. This issue is intermittent but can be reproduced by opening multiple tabs in parallel.

image

eugeniumegherea commented 2 weeks ago

I've got the same problem, did you figure it out?

didoshotev commented 2 weeks ago

Yeah, the issue was not with cloudflare API at all. In our case it was because we use interval to create a loading bar and apparently we did not pause the speedtest on time.