You are here

service lock.persistent in Redis 8

Class

Drupal\Core\Lock\LockBackendInterface
1 string reference to lock.persistent
RedisLockFunctionalTest::testPersistentLock in tests/src/Functional/Lock/RedisLockFunctionalTest.php
Tests that the persistent lock is persisted between requests.

File

./example.services.yml
example.services.yml

View source
  1. class: Drupal\Core\Lock\LockBackendInterface
  2. factory:
  3. - '@redis.lock.factory'
  4. - get
  5. arguments:
  6. - true