ianperrin / MMM-Formula1

A MagicMirror Module for displaying Formula 1 driver and constructor standings.
MIT License
31 stars 13 forks source link

Wont load reliable data at startup #16

Closed Hilzerak closed 4 years ago

Hilzerak commented 6 years ago

Hey guys, the Module works principle fine. But after MMM startup i got "Lade..." until it reloads the standing a few times. Nothing appears in ErrorLog. Can you add a trigger that will retry to get data for 1 or 2 times if the API wont give any data?

actually I want to reload the standing only every 2 days because i cant watch every race live. but with this setting got the "Lade..." message for days..... :/

ianperrin commented 4 years ago

Hi @Hilzerak, apologies for the delayed response :) I've not revisited this module for some time, so just picking through some of the issues now.

I can't reproduce the "Loading..." (or "Lade...") issue, but if you're still experiencing it, please share more details about your config and I can take a look.

If you're still wanting to delay the reload, have you tried setting the reloadInterval to 86400000 (24 hours) or higher?