From 16777f1daf452d1a7f8f12e8f7f7302baf7d0f8c Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Mon, 19 Apr 2021 20:45:00 +0200 Subject: [PATCH] Adding PCNTL related event listeners --- Configuration/Settings.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index bd43264..cf638d5 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -25,10 +25,12 @@ DigiComp: eventDispatcher: subscribers: + DigiComp\FlowSymfonyBridge\Messenger\EventListener\StopWorkerOnRestartSignalListener: true Symfony\Component\Messenger\EventListener\AddErrorDetailsStampListener: true Symfony\Component\Messenger\EventListener\SendFailedMessageForRetryListener: true Symfony\Component\Messenger\EventListener\SendFailedMessageToFailureTransportListener: true - DigiComp\FlowSymfonyBridge\Messenger\EventListener\StopWorkerOnRestartSignalListener: true + Symfony\Component\Messenger\EventListener\DispatchPcntlSignalListener: true + Symfony\Component\Messenger\EventListener\StopWorkerOnSigtermSignalListener: true buses: default: