Hi! Anyone know how to change warning limit from 5 sec (old) to a new 8 sec.
As I understand now everything below 8 sec is normal
I mean that ChiaDog setting in the e-mail’s report.
- average: 2.40s over XXX searches
- over 5s: XXX occasions (8.3%)
- over 15s: 0 occasions (0.0%)"
You can modify line 26 of this file - https://github.com/martomi/chiadog/blob/main/src/chia_log/handlers/daily_stats/stat_accumulators/search_time_stats.py
Although, lines 26 - 29 are maybe not providing a correct report. Lines 26/27 (over 5s) will also include times over 15 sec. I would change those lines as follow:
if obj.search_time_seconds > 15:
self._over_15_seconds += 1
elif obj.search_time_seconds > 5:
self._over_5_seconds += 1
This way, I would exclude >15 from >5 results.