Reduce alarm part time span to 8 hours

Close #914
This commit is contained in:
MM20 2024-07-03 22:37:49 +02:00
parent e66c9a6ef4
commit c3f1383da4
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -43,7 +43,7 @@ class AlarmPartProvider : PartProvider {
send(0)
} else {
time.collectLatest {
if (alarm > it + 12 * 60 * 60 * 1000) {
if (alarm > it + 8 * 60 * 60 * 1000) {
send(0)
} else {
send(60)