alex-hhh/ActivityLog2

Map widget opens too many connections ins internet.

idealist1508 opened this issue · 2 comments

To reproduce:

  • open map view with a long ride.
  • set a maximal zoom
  • move a mouse in a bottom graph from left to right.
    => ActivityLog2 makes too many connections.
    grafik

I couldn't explain why it doesn't work with net/url.
After I changed it to http-easy, only 2 connections are used. Please look at idealist1508/map-widget@34d0783
Should I make a PR for this?

Yes, can you please create a PR for this? I don't know much about fetching data over HTTP, so I just used the default available (also, http-easy was not available when I wrote this code. I will mention this problem on the Racket user lists, maybe the built-in library can also be fixed...