Commit d9be325e authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix refresh of resolve cache (did not expire)

parent 62a80cee
......@@ -73,8 +73,8 @@ function getOrCreatePod(podName, repl, shouldCreate, next) {
// cache pod name -> host & port
const resolveCache = require('../safe-memory-cache/map.js')({
limit: config.resolveCacheNMax,
maxTTL: config.resolveCacheTtlMaxMs,
refreshF: function(key, value, cache) {
Supports Markdown
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