Skip to content

Commit

Permalink
fix(kuzzlerc): there was a mismatch between default variable and kuzz…
Browse files Browse the repository at this point in the history
…lerc example
  • Loading branch information
rolljee committed Jan 11, 2024
1 parent 2f63614 commit 32a3853
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .kuzzlerc.sample.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
// NB: A condition is either a "simple" operator (anything but "and",
// "or" and "bool"), or a boolean condition that contains only
// simple operators.
// * subscriptionMinterms
// Maximum number of minterms (AND) clauses
// after the filters are transformed in their Canonical Disjunctive Normal Form (CDNF).
// * subscriptionRooms
// Maximum number of different subscription rooms
// (i.e. different index+collection+filters subscription
Expand All @@ -88,6 +91,7 @@
"requestsBufferSize": 50000,
"requestsBufferWarningThreshold": 5000,
"subscriptionConditionsCount": 100,
"subscriptionMinterms": 0,
"subscriptionRooms": 1000000,
"subscriptionDocumentTTL": 259200000 // 72 * 60 * 60 * 1000
},
Expand Down Expand Up @@ -133,8 +137,8 @@
"common": {
"failsafeMode": false,
"bootstrapLockTimeout": 30000,
"pipeWarnTime": 40,
"initTimeout": 2000,
"pipeWarnTime": 500,
"initTimeout": 10000,
"maxConcurrentPipes": 50,
"pipesBufferSize": 50000,
"include": [
Expand All @@ -147,7 +151,9 @@
"kuzzle-plugin-logger": {
"services": {
"stdout": {
"level": "info"
"level": "info",
"addDate": true,
"dateFormat": "YYYY-MM-DD HH-mm-ss"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions doc/2/framework/abstract-classes/plugin/init/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ init(config: JSONObject, context: PluginContext);

<br/>

| Arguments | Type | Description |
|-----------|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `config` | <pre>JSONObject</pre> | Contains the custom plugin configuration |
| Arguments | Type | Description |
| --------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `config` | <pre>JSONObject</pre> | Contains the custom plugin configuration |
| `context` | <pre>PluginContext</pre> | The plugin context, exposing various accessors, constructors, and helpers. The other sections of this documentation detail the interfaces made available by this object |

## Return
Expand Down

0 comments on commit 32a3853

Please sign in to comment.