mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
add watchdog to config-schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
df6474802d
commit
4d75d48eea
1 changed files with 18 additions and 0 deletions
|
@ -1003,6 +1003,24 @@
|
||||||
"required": [
|
"required": [
|
||||||
"enabled"
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue