public function Lock::persist in Ultimate Cron 8.2
Dont release lock on shutdown.
Parameters
string $lock_id: The lock id to persist.
Overrides LockInterface::persist
1 call to Lock::persist()
- Lock::unlock in src/
Lock/ Lock.php - Release lock.
File
- src/
Lock/ Lock.php, line 42
Class
- Lock
- Class for handling lock functions.
Namespace
Drupal\ultimate_cron\LockCode
public function persist($lock_id) {
if (isset($this->locks)) {
unset($this->locks[$lock_id]);
}
}