add watchdog to config-schema

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-07-23 13:10:01 +01:00
parent df6474802d
commit 4d75d48eea

View File

@ -1003,6 +1003,24 @@
"required": [
"enabled"
]
},
"watchdog": {
"type": "object",
"required": [
"interval",
"timeout"
],
"description": "This is used to monitor if NodeJS is servicing IO correctly or getting held up a lot. You MUST specify \"interval\" and \"timeout\".",
"properties": {
"interval": {
"type": "number",
"description": " This will check every X ms"
},
"timeout": {
"type": "number",
"description": " If the timer is more than X ms late, it will warn to console AND mesherrors.txt"
}
}
}
}
},