node-cache
node-cache copied to clipboard
Modify put function to support a time that exceeds setTimeout's maximum time
setTimeout can support a maximum of 2147483647 milliseconds (about 24.9 days), which limits the time that the put function can support. Now it can support the maximum safe integer supported by the javascript number primitive (9007199254740991). 9007199254740991 milliseconds is about 285616.41 years.
@ptarjan please check this out please
@ptarjan I fixed the merge conflict
@ptarjan merge this pr and release a new version please