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

Cache manager - 3.4.0 in seconds? #348

Closed
twigs67 opened this issue Feb 5, 2023 · 1 comment
Closed

Cache manager - 3.4.0 in seconds? #348

twigs67 opened this issue Feb 5, 2023 · 1 comment

Comments

@twigs67
Copy link

twigs67 commented Feb 5, 2023

I'm reading that ttl is in milliseconds, but it seems to be taking seconds as a value. Is that right? I'm on 3.4.0

@douglas-begg
Copy link

Yes before version 5 it was seconds. After it is milliseconds.

You can see the change documented in the change log: https://github.com/node-cache-manager/node-cache-manager/blob/master/CHANGELOG.md for the 5.0.0 version it states:

  • Change ttl param unit to milliseconds

@zzau13 zzau13 closed this as completed Feb 6, 2023
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

No branches or pull requests

3 participants