stable
Clone or download
Read-only
fix request #31579 Duplicate a Tuleap project with a lot of trackers can timeout
Add transaction to reduce the write pressure on DB server. As far as I can tell, the `duplicate` method for TrackerService was not used so I deleted entirely (it was the only usage of Service::duplicate). Change-Id: I3748857dc3a0e3b308ad7d01f408ca309b634f7e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/ServiceTracker.class.php | +0 | −23 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +24 | −24 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerManager.class.php | +3 | −5 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.php | +11 | −8 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/TrackerFactoryDuplicationTest.php | +6 | −5 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Service.class.php | +0 | −4 | Go to diff View file |