jaredwray / cache-manager

Cache module for Node.JS
MIT License
1.4k stars 152 forks source link

Fix express example having a 10ms instead of 10 second cache ttl #708

Closed WardenPotato closed 1 month ago

WardenPotato commented 1 month ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? Docs update

Im new to this library and was scratching my head for a good hour as to why the middleware example wasnt working, then i discovered the TTL was incorrectly configured, this PR makes a minor adjustment to fix that.