ptarjan / node-cache

A simple in-memory cache for nodejs
BSD 2-Clause "Simplified" License
1.59k stars 214 forks source link

Throw error is expire time is set too high #89

Open michaelcacciatore opened 7 years ago

michaelcacciatore commented 7 years ago

We will now throw an error if passing in an invalid value to the time parameter

michaelcacciatore commented 7 years ago

I'm also updating the package file to v0.2.0 to account for the merge that was done this morning, #85

ptarjan commented 7 years ago

what do you think about https://github.com/ptarjan/node-cache/pull/88 instead?

michaelcacciatore commented 7 years ago

That would work as well. Make sure to increment the package file version so folks with CI builds can use the newest features