localizer icon indicating copy to clipboard operation
localizer copied to clipboard

infinite loop after waking from sleep

Open camerondavison opened this issue 1 year ago • 2 comments

If my laptop goes to sleep for a long time localizer will go into an infinite loop of trying to open endpoints

I can usually resolve this pretty quickly by just restarting it

I bring this up because I can think of a couple of things that might be good features worth thinking about.

  1. notice that the app has been asleep and missed a bunch of events and redo the internal state (may be connected to #19 )
  2. limit the number of times a host file can be updated in a time period maybe once every 5 seconds or something (updating the host file a bunch of times causes the machine to have trouble with DNS)
  3. just die if localizer missed a bunch of events

camerondavison avatar Mar 20 '23 14:03 camerondavison

These all seem like pretty good improvements!

jaredallard avatar Mar 29 '23 15:03 jaredallard

This would be very helpful!

trobertsonsf avatar Apr 23 '24 13:04 trobertsonsf