Hacker News new | ask | show | jobs
by LaputanMachine 1385 days ago
The app contacts Github's CDN every 45 seconds. Is there a particular reason / need for this behavior?

Tested on macOS with the following command:

  sudo tcpdump -k -i en0 | grep Upscayl
2 comments

Just an aside as we all get Old Fat and Ugly, its actually a good thing to have such a simple reminder to grep for shit out of your egress just so you stay close to whats happening on the wire.

I haven't thought about TCPDUMP in a long time, and I appreciate this man page.

It must be because of the auto-update checker. It's a useful feature that lets us notify users about new versions and also let them download and install without opening the Github repository.
But you check for updates every 45 seconds? Why?
It's the electron-builder that's doing it, must be its default configuration. I'll see if I can fix the continuous checks and limit it to only at launch.
Thanks for taking a look at this!

Maybe the update check is not completing in time and hitting a 45 second timeout similar to [1]?

[1]: https://github.com/electron-userland/electron-builder/issues...