Read the statement by Michael Teeuw here.
Calendar appears to be fetching the last calendar in the list multiple times.
-
@vvrangler but the events numbers match
-
@sdetweil looks like a timing bug… will submit a fix
https://github.com/MichMich/MagicMirror/issues/2160
fix
https://github.com/MichMich/MagicMirror/pull/2162 -
@vvrangler the fix i proposed has been accepted and is part of the develop branch, if you would like to use it
to get there
if you did manual install
cd ~/MagicMirror git checkout develop git pull
restart MagicMirror as normal
if you used my install script
cd ~/MagicMirror git fetch origin develop:develop git checkout develop
restart MagicMirror as normal
-
@sdetweil Yes, the number of events look to be good, and I’m not really seeing any issues because of this, it’s just something that I noticed in the logs.
-
@vvrangler yeh, it seems to luck out currently
the top code starts the fetcher and a starts a timer for each calendar entry
the fetcher ALSO starts a timer, so if its never called again, it still returns a refreshed listI changed it so the top code starts the fetcher for each calendar entry
and let the fetcher handle its configured timer cycle -
@sdetweil said in Calendar appears to be fetching the last calendar in the list multiple times.:
@vvrangler yeh, it seems to luck out currently
the top code starts the fetcher and a starts a timer for each calendar entry
the fetcher ALSO starts a timer, so if its never called again, it still returns a refreshed listI changed it so the top code starts the fetcher for each calendar entry
and let the fetcher handle its configured timer cycleThe change definitely fixed the issue and everything looks good now during the subsequent polls, thank you again.
I also have a couple of other calendar related issues that I’ve seen in the log, would it be best if I closed this topic and post a new one?
-
@vvrangler said in Calendar appears to be fetching the last calendar in the list multiple times.:
I also have a cope of other calendar related issue that I’ve seen in the log, would it be best if I close this topic and posted a new one?
yes please