jethro-pmm
jethro-pmm copied to clipboard
Extend attendance recording lock timeout
I'm wanting to use Attendance recording to record people as they come through the door. With the current database lock limit (14 minutes) it times out before we would have time to save the data but I don't want to extend the lock time for other functions.
For now I have 'hacked' the getLockLength function in db_oblect.class.php by adding this line :- If (strpos($_SERVER['REQUEST_URI'], 'view=attendance__record') > 1) $lockLength = '90 minutes';
Related: https://github.com/tbar0970/jethro-pmm/issues/752 and https://github.com/tbar0970/jethro-pmm/issues/554