stable

Clone or download

Read-only

request #15081: Pull request notifications are never sent when a Redis instance is available but there are no async workers

Notifications to process are added to the queue but since no worker is available they are never processed. To reproduce you need to have a working Redis known by Tuleap (for example to store metrics) but the sys_nb_backend_workers setting set to 0. Change-Id: Ia88b51a62cd2f26ad0bb54893f176f4ab3fd7adb

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Notification/EventSubjectToNotificationAsynchronousRedisDispatcher.php +4 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Notification/NoWorkerAvailableToProcessTheQueueException.php +31 −0 Go to diff View file
M plugins/pullrequest/tests/unit/Notification/EventSubjectToNotificationAsynchronousRedisDispatcherTest.php +27 −0 Go to diff View file