In D7 it was possible to use a custom lock handler through $conf['lock_inc']. This feature is of course gone, but how do you instruct Drupal to use another backend than DatabaseLockBackend? Do we need a LockFactory::get() method like we have with Cache? Or is there another way to do it?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1897806-1-lock-factory.patch | 2.7 KB | gielfeldt |
Comments
Comment #1
gielfeldt commentedSubmitting a rudimentary patch, in case we need a LockFactory::get().
Comment #2
gielfeldt commentedComment #3
gielfeldt commentedThis is actually a regression I guess.
Comment #10
adammaloneThis can be defined be registering the lock in the services.yml in sites/default.
Using the memcache lock example: