ptarjan / node-cache

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

maxvalue for time #35

Closed johnkors closed 9 years ago

johnkors commented 9 years ago

What's the max value for put? I put in 30 days in ms, 2592000000, and i only got cache misses.

ptarjan commented 9 years ago

2147483647.

http://stackoverflow.com/questions/3468607/why-does-settimeout-break-for-large-millisecond-delay-values

johnkors commented 9 years ago

Thanks :)