You are here

function lock_wait in Redis 7.2

Same name and namespace in other branches
  1. 7.3 redis.lock.inc \lock_wait()
  2. 7 redis.lock.inc \lock_wait()

File

./redis.lock.inc, line 43
Drupal core lock.inc replacement.

Code

function lock_wait($name, $delay = 30) {
  return Redis_Lock::getBackend()
    ->lockWait($name, $delay);
}