Skip to content

Commit

Permalink
add watchdog to config-schema
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Jul 23, 2024
1 parent df64748 commit 4d75d48
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions meshcentral-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
},
Expand Down

0 comments on commit 4d75d48

Please sign in to comment.