mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
add watchdog to config-schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
df6474802d
commit
4d75d48eea
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user