Josh Gwosdz
Josh Gwosdz
this causes node-cache/node-cache#127 just leaving this here so we get a ref to track this issue in the original issue thread
i managed to compile it now with ofxCv master branch and openFrameworks 0.8.3 but now i get this error: OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /home/arturo/Downloads/OpenCV-2.3.1/modules/imgproc/src/imgwarp.cpp,...
We do not have a lodash dependency as far as I know :o
I think this is a valid point. Do you mind adding tests as well?
Hey guys! I will investigate this and try to publish a fix soon!
Oof... ok so when `deleteOnExpire` is set to `false` the behaviour is this: * Each node-cache `checkperiod` run triggers the expired event again because the key does not get deleted...
@rvillane You could also design your refresh-handler to re-set the key with a new ttl before fetching the data, so neither `checkperiod` nor a get on the key would retrigger...
Strange... I will have a look into that.
It looks like your `setAll` functions does a key lookup via `.has(key)` which, in turn, fires an expired event if the key has not been set with a new ttl....
Did you include this snippet here? ```javascript / handles the cache expiration event - old data is not evicted automatically function refreshExpiredCache(cacheType, oldDomainCacheMap) { // THIS // re-set the the...