Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify default value for secretsTtl #23

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

george1410
Copy link
Contributor

@george1410 george1410 commented Jul 18, 2024

Adding the default value for secretsTtl to the docs. Default is 1 week per below:

fastify-jwt-jwks/index.js

Lines 196 to 197 in a4ebba7

// Check if secrets cache is wanted - Convert milliseconds to seconds and cache for a week by default
const ttl = parseFloat('secretsTtl' in options ? options.secretsTtl : '604800000', 10) / 1e3

closes #24

Copy link

@bilalshareef bilalshareef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simoneb simoneb merged commit 062d43c into nearform:master Jul 19, 2024
6 of 7 checks passed
@github-actions github-actions bot mentioned this pull request Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default secretsTtl value not provided in docs
3 participants