stable
Clone or download
Read-only
When there is multiple changes affecting ugroups in the same project Tuleap should try to group the refresh of the SVN access files. This operation can be a bit long in large projects so in situation where there is lot of ugroup changes (e.g. automation, nightly synchroβ¦) it can slow (a lot!) the processing of default system event queue. To avoid that, a new system event that deal only with the update of the SVN access file is created. This event is queued only when there is not already an event pending for a project. Close request #14411: Refresh SVN access files only once when multiple system events need it Change-Id: I0b4d99c1674e04c104bef4102aec1f049b200fe5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/svn/include/svnPlugin.php | +10 | β25 | Go to diff View file |
M | src/common/Event/Event.class.php | +3 | β19 | Go to diff View file |
A | src/common/svn/Event/UpdateProjectAccessFileSystemEvent.php | +83 | β0 | Go to diff View file |
A | src/common/svn/Event/UpdateProjectAccessFilesEvent.php | +49 | β0 | Go to diff View file |
A | src/common/svn/Event/UpdateProjectAccessFilesScheduler.php | +56 | β0 | Go to diff View file |
M | src/common/system_event/SystemEvent.class.php | +1 | β0 | Go to diff View file |
M | src/common/system_event/SystemEventManager.class.php | +15 | β4 | Go to diff View file |
M | src/common/system_event/include/SystemEvent_MEMBERSHIP_CREATE.class.php | +7 | β17 | Go to diff View file |
M | src/common/system_event/include/SystemEvent_MEMBERSHIP_DELETE.class.php | +7 | β17 | Go to diff View file |
M | src/common/system_event/include/SystemEvent_UGROUP_MODIFY.class.php | +41 | β42 | Go to diff View file |
M | tests/phpunit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFYRenameTest.php | +2 | β2 | Go to diff View file |
M | tests/phpunit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFY_Test.php | +6 | β57 | Go to diff View file |
A | tests/phpunit/common/svn/Event/UpdateProjectAccessFileSystemEventTest.php | +95 | β0 | Go to diff View file |
A | tests/phpunit/common/svn/Event/UpdateProjectAccessFilesSchedulerTest.php | +72 | β0 | Go to diff View file |