You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current docs for `v8.0.x`, it appears that there may be a mismatch in the `Server` object property `load`.
I've simply changed `load.sampleInterface` to `load.sampleInterval`
When following documentation one will get an error similar to:
```
/Users/blakmatrix/projects/hapidays/code/node_modules/joi/lib/index.js:121
throw new Error(message + error.annotate());
^
Error: Invalid load monitoring options {
"sampleInterval": 0,
"sampleInterface" [1]: 1
}
[1] sampleInterface is not allowed
at root.assert (/Users/blakmatrix/projects/hapidays/code/node_modules/joi/lib/index.js:121:19)
at new module.exports.internals.Heavy (/Users/blakmatrix/projects/hapidays/code/node_modules/hapi/node_modules/heavy/lib/index.js:41:9)
at new module.exports.internals.Server (/Users/blakmatrix/projects/hapidays/code/node_modules/hapi/lib/server.js:46:19)
at Object.<anonymous> (/Users/blakmatrix/projects/hapidays/code/app.js:7:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
```
0 commit comments