Open Honzackcz opened 9 months ago
Hi, I created "maxconsolelog.txt" to execute the "console.clear()" command when the terminal outputs a certain number of lines of logs. Currently, the default is to execute "console.clear()" when the number of lines reaches 1000.
data: [object Object]
Failed to parse data from Pulsoid. Skipping parameter update...
I had issue that the app crashes after around 4-5 hours of working. I found out that it is caused by Windows Terminal cannot handle that many lines of text that accumulate over the time by reporting "Got heart rate: --- bpm" and just close.
Adding a "console.clear()" before logging new bpm value should fix it. I haven't tested this yet, but clearing the Terminal from batch script every hour fixed it, so this should too.