Skip to content

Correct default value for etagsCacheMaxSize#142

Merged
hueniverse merged 1 commit intohapijs:masterfrom
behnoodk:patch-1
May 16, 2020
Merged

Correct default value for etagsCacheMaxSize#142
hueniverse merged 1 commit intohapijs:masterfrom
behnoodk:patch-1

Conversation

@behnoodk
Copy link
Copy Markdown
Contributor

@behnoodk behnoodk commented May 1, 2020

In lib/index.js default value for etagsCacheMaxSize is set to 1000 and not 10000 as stated in the API.md.

etagsCacheMaxSize: Joi.number().integer().min(0).default(1000)

In the source file default value for `etagsCacheMaxSize` is set to `1000` and not `10000` as stated in the API docs.

https://github.com/hapijs/inert/blob/b3e4e446e960e6291e01a61c7cb666c570e0802f/lib/index.js#L13
@hueniverse hueniverse merged commit 323f503 into hapijs:master May 16, 2020
@hueniverse hueniverse self-assigned this May 16, 2020
@hueniverse hueniverse added the documentation Non-code related changes label May 16, 2020
@cjihrig cjihrig added this to the 6.0.2 milestone Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Non-code related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants