jethro-pmm icon indicating copy to clipboard operation
jethro-pmm copied to clipboard

Extend attendance recording lock timeout

Open tim-pearce opened this issue 2 years ago • 1 comments

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';

tim-pearce avatar Apr 05 '22 03:04 tim-pearce

Related: https://github.com/tbar0970/jethro-pmm/issues/752 and https://github.com/tbar0970/jethro-pmm/issues/554

tbar0970 avatar Apr 07 '22 02:04 tbar0970