lib/cache/GlobalCache.js
function(exists, done) {
      if (exists) {
        done(new AbstractCache.Error('The cache is currently locked.'))
      } else {
        client.get("lock-process:" + name, done)
      }
    }
function(exists, done) {
      if (exists) {
        done(new AbstractCache.Error('The cache is currently locked.'))
      } else {
        client.get("lock-process:" + name, done)
      }
    }
function ( exists , done ) { if ( exists ) { done ( new AbstractCache . Error ( 'The cache is currently locked.' ) ) } else { client . get ( "lock-process:" + name , done ) } }
Check if there's a process already running to update the cache.
Check if there s a process already running to update the cache .