Alvinger / MMM-ResRobot

ResRobot module for Magic Mirror 2 - Display public transport departures
13 stars 14 forks source link

List of departures slowly fades, then stuck in "fetching..." #21

Open uwefladrich opened 10 months ago

uwefladrich commented 10 months ago

Hi,

Thanks for a great MM plugin, it is greatly appreciated!

I have this issue where the the list of departures works for a while (couple of hours or a day) and then it fades and shortens as departure times pass. No new departures are fetched and finally it is stuck in "fetching departures". After restarting/reloading MM everything works fine again, until it eventually does not.

I think it is the same behavior as described here.

Any idea why this could be?

Alvinger commented 10 months ago

@uwefladrich Hi, I have also experienced this more often lately. I'm a bit worried that it might be a memory leak somewhere. I'm thinking of introducing a "hard refresh" maybe once a day or some kind of timeout (if last update is too far in the past, do a complete refresh) to make sure that it doesn't happen.