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

node/index.js getTime() error 1.0.1 - 1.0.3 #13

Open
BenAceable opened this issue Feb 1, 2016 · 2 comments
Open

node/index.js getTime() error 1.0.1 - 1.0.3 #13

BenAceable opened this issue Feb 1, 2016 · 2 comments

Comments

@BenAceable
Copy link

When the version was switched from 1.0.1 to 1.0.3 I started receiving this error:

TypeError: Cannot read property 'getTime' of undefined at node_modules/cacheman-mongo/node/index.js:124:28

It is resolved when returning back to 1.0.1 package.

@BenAceable
Copy link
Author

This Commit Did not include a check for backwards compatibility. So any cache entries made before upgrade have an undefined expireAt property instead of a date.

@pahan35
Copy link

pahan35 commented Nov 29, 2018

@BenAceable I guess backward compatibility exceed here cause cache should be as fast as possible.

But from the other hand, some migration helper should be provided.

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

2 participants