[Koha-bugs] [Bug 18821] TrackLastPatronActivity is a performance killer
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 25 09:36:40 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18821
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #30 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This unfortunately is not enough. We have to deal here with the wonderous
CGI::Session object ;)
Test this:
Remove all sessions.
Login.
Now check sessions again. You have 5 entries. 1 entry contains the info about
the logged in user. You should expect the new track param here too. But it is
not there.
What happens? Somehow $session is already undef when you call track. If we need
to call CGI::Session->new($sessionID) each time, we do not really benefit in
terms of db access (well: 1 lookup in sessions instead of 1 in borrowers).
Is there a different approach? What about using a cache key? (Do we want to
pollute the cache with keys for every session..)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list