OpenSeizureDetector / Garmin_SD

Garmin Watch Seizure Detector - A seizure detector data source based on Garmin IQ watches such as Vivoactive HR
http://openseizuredetector.org.uk
GNU General Public License v3.0
11 stars 8 forks source link

On tick method called every 500ms #33

Closed pmithrandir closed 8 months ago

pmithrandir commented 10 months ago

In SDComm, I think we are asking the ontick method to run every half second (and not every second as it's said in the comment line 250). It means that we could send a webrequest every 500ms... which seems quite a lot in term of usage.

What do you think?

Should we correct the timer or the comment ?

jones139 commented 9 months ago

I'll have to look at this - if you are correct then yes, there should be no problem with increasing the period (although I may have made it 500ms to that it would do a re-try quite quickly rather than waiting a whole second before it re-tries a failed send?

pmithrandir commented 8 months ago

Corrected in V1.5