stable

Clone or download

Read-only

Fixes request #31953: Marking an artifact as recently visited can be slow

Instead of cleaning the table after every hits we now clean it once a day for everyone at once. Saving the visited items is cheaper and cleaning up the whole table at once is more efficient. Change-Id: I753ccd679ba889468c876d221bf2b6e8ddeb8056

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Kanban/RecentlyVisited/RecentlyVisitedKanbanDao.php +23 −27 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +2 −1 Go to diff View file
A plugins/agiledashboard/tests/integration/Kanban/RecentlyVisited/RecentlyVisitedKanbanDaoTest.php +57 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/RecentlyVisitedDao.php +24 −13 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +3 −1 Go to diff View file
A plugins/tracker/tests/integration/Tracker/Artifact/RecentlyVisited/RecentlyVisitedDaoTest.php +56 −0 Go to diff View file