Bug 18821: TrackLastPatronActivity is a performance killer
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 May 2018 17:29:12 +0000 (17:29 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 8 Jun 2018 10:30:16 +0000 (10:30 +0000)
commit6491ba0233ac019614487efafef6e35c9ffef6eb
tree2949dc71cb331bf8741cc54b62904ffc992ad231
parent6049836023be61771c25fe038f02378ede96fff5
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>
C4/Auth.pm
t/db_dependent/Auth.t