Skip to content

Commit 87904ae

Browse files
committed
maxQueue as definition
1 parent 17cf314 commit 87904ae

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

schemas/iobroker.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"properties": {
1111
"memoryLimitMB": {
1212
"type": "number",
13-
"description": "do not use more than memory limit mb by ioB process (0 to deactivate)"
13+
"description": "Do not use more than memory limit mb by ioB process (0 to deactivate)"
1414
},
1515
"hostname": {
1616
"type": "string",
17-
"description": "if empty, determine use real hostname"
17+
"description": "If empty, determine use real hostname"
1818
},
1919
"statisticsInterval": {
2020
"type": "number",
@@ -32,7 +32,7 @@
3232
},
3333
"instanceStartInterval": {
3434
"type": "number",
35-
"description": "interval to wait between multiple instances starts"
35+
"description": "Interval to wait between multiple instances starts"
3636
},
3737
"compact": {
3838
"type": "boolean",
@@ -280,8 +280,7 @@
280280
"$ref": "#/definitions/JsonlOptions"
281281
},
282282
"maxQueue": {
283-
"type": "number",
284-
"description": "Do not let messages grow without a limit"
283+
"$ref": "#/definitions/MaxQueue"
285284
},
286285
"noFileCache": {
287286
"type": "boolean"
@@ -325,7 +324,7 @@
325324
},
326325
"period": {
327326
"type": "number",
328-
"description": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0"
327+
"description": "By default backup every 2 hours. Time is in minutes. To disable backup set the value to 0"
329328
},
330329
"// period": {
331330
"type": "string"
@@ -523,8 +522,7 @@
523522
"$ref": "#/definitions/JsonlOptions"
524523
},
525524
"maxQueue": {
526-
"type": "number",
527-
"description": "Do not let messages grow without a limit"
525+
"$ref": "#/definitions/MaxQueue"
528526
}
529527
},
530528
"required": [
@@ -541,6 +539,10 @@
541539
"maxQueue"
542540
],
543541
"additionalProperties": false
542+
},
543+
"MaxQueue": {
544+
"type": "number",
545+
"description": "Do not let messages grow without a limit"
544546
}
545547
}
546548
}

0 commit comments

Comments
 (0)