threshold-network / merkle-distribution

Threshold Network rewards generation and distribution
https://threshold.network
1 stars 6 forks source link

Build version req fix #58

Closed dimpar closed 1 year ago

dimpar commented 1 year ago

It might happen that at the end of the rewards interval when we check the timestamp of the latest registered client build version Prometheus will return a timestamp that goes pass the interval. E.g. instead of Feb 1, 2023 00:00:00 it will return Feb 1, 2023 00:01:00 which results in checking only the latest build version instead of the latest and second to latest. To mitigate this issue, we add a 30min tolerance when we check against the latest registered build timestamp.