Make the settle after a delivered walk a setting, two minutes by default (ADR 0505 §3)

This commit is contained in:
2026-10-22 14:02:17 +02:00
parent b7b9f2a3da
commit 92225cd528
6 changed files with 92 additions and 2 deletions
+9 -1
View File
@@ -140,6 +140,14 @@
"maximum": 1000,
"trusted": false,
"default": 100
},
"settle-seconds": {
"type": "number",
"description": "seconds a delivery that ended well still holds the messages about what it changed, so a problem that passes as the delivery settles is not sent (ADR 0505 §3); 0 holds nothing after the end.",
"minimum": 0,
"maximum": 3600,
"trusted": false,
"default": 120
}
},
"resources": [
@@ -163,7 +171,7 @@
"type": "file",
"path": "${dir:state}/settings.json",
"mode": "0600",
"takes-config": ["time-zone", "desktop-machines", "only-what-needs-me", "messages-per-hour"],
"takes-config": ["time-zone", "desktop-machines", "only-what-needs-me", "messages-per-hour", "settle-seconds"],
"merge": "json",
"template": "files/settings.json",
"owner": "messenger"