]> git.koha-community.org Git - koha.git/commit
Bug 18821: TrackLastPatronActivity is a performance killer
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 May 2018 17:29:12 +0000 (17:29 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Jun 2018 08:56:51 +0000 (09:56 +0100)
commit0aa5eec2332f0e0ae7f6adefebc274b02f8830c5
tree3cf7253805275155996dd899736ab813652b489c
parenta28c4056c63ab40a451ef434577c9905e781c3b5
Bug 18821: TrackLastPatronActivity is a performance killer

Test Plan:
1) Apply this patch
2) Start a new session ( a private browser window works well )
3) Note the lastseen column in the borrowers table is updated
4) Browse a few pages, not the lastseen column is not updated again
5) Close the browser window and repeat steps 2-4
6) prove t/db_dependent/Auth.t

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Auth.pm
t/db_dependent/Auth.t