add watchdog to config-schema

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jul 23, 2024 at 13:10 UTC 4d75d48eead11fa7df7bb276f3a8e65037c44bca
1 file changed +18
meshcentral-config-schema.json
+18
@@ -1003,6 +1003,24 @@
1003 "required": [
1004 "enabled"
1005 ]
1006 + },
1007 + "watchdog": {
1008 + "type": "object",
1009 + "required": [
1010 + "interval",
1011 + "timeout"
1012 + ],
1013 + "description": "This is used to monitor if NodeJS is servicing IO correctly or getting held up a lot. You MUST specify \"interval\" and \"timeout\".",
1014 + "properties": {
1015 + "interval": {
1016 + "type": "number",
1017 + "description": " This will check every X ms"
1018 + },
1019 + "timeout": {
1020 + "type": "number",
1021 + "description": " If the timer is more than X ms late, it will warn to console AND mesherrors.txt"
1022 + }
1023 + }
1024 }
1025 }
1026 },