stable

Clone or download

Read-only

request #13619 SystemEvents use Symfony locks

Instead of writing and removing by hand pid files to deal with system event queues and concurrency issues, we now use Symfony lock systems to ease this. Change-Id: I63caf35d819c139301b40b0e7b12e8d72fe5a58a

Modified Files

Name
M src/common/CLI/Command/ProcessSystemEventsCommand.php +13 −8 Go to diff View file
M src/common/Project/SystemEventRunner.class.php +17 −9 Go to diff View file
M src/common/system_event/SystemEventProcess.class.php +2 −2 Go to diff View file
M src/common/system_event/SystemEventProcessApplicationOwnerDefaultQueue.class.php +4 −3 Go to diff View file
M src/common/system_event/SystemEventProcessCustomQueue.class.php +4 −3 Go to diff View file
M src/common/system_event/SystemEventProcessManager.class.php +17 −24 Go to diff View file
M src/common/system_event/SystemEventProcessRootDefaultQueue.class.php +4 −3 Go to diff View file
M src/common/system_event/SystemEventProcessorMutex.class.php +38 −37 Go to diff View file
M src/composer.json +1 −0 Go to diff View file
M src/composer.lock +111 −48 Go to diff View file
M src/utils/tuleap.php +7 −2 Go to diff View file
M tests/phpunit/common/SystemEvent/SystemEventProcessManagerTest.php +19 −36 Go to diff View file
A tests/phpunit/common/SystemEvent/SystemEventProcessorMutexTest.php +81 −0 Go to diff View file
D tests/simpletest/common/system_event/SystemEventProcessManagerTest.php +0 −70 Go to diff View file
D tests/simpletest/common/system_event/SystemEventProcessorMutexTest.php +0 −84 Go to diff View file