Commit fbc9f3ee authored by strong's avatar strong

Merge commit '196ded65' into SANDBOX

parents 80025161 196ded65
......@@ -69,8 +69,8 @@ function loadAndCacheData(dur, key, fn, args, cb) {
}
function getKey(ns, args) {
var key = Array.prototype.join.call(arguments,',');
return ns + ':' + key;
var key = Array.prototype.join.call(arguments,'_');
return 'cacheable_'+key;
}
function withCache(dur, keyBuilder, fn) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment