[DoctrineMessenger] [WIP] Postgres LISTEN/NOTIFY improvement proposition for better handling of time limit, multi-queue worker and delayed tasks

by @d-ph

Some issues have been detected in this pull request

0
Coding Standard

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/47666/6d9e15abcdd9fca8bd5cab2f532bd13e13e03760/exception_messages.diff | patch -p0
diff -ru src/Symfony/Component/Messenger/Bridge/Doctrine/EventListener/PostgreSqlWaitForPgNotifyOnIdleListener.php src/Symfony/Component/Messenger/Bridge/Doctrine/EventListener/PostgreSqlWaitForPgNotifyOnIdleListener.php
--- src/Symfony/Component/Messenger/Bridge/Doctrine/EventListener/PostgreSqlWaitForPgNotifyOnIdleListener.php	2022-09-22 15:43:50.900860517 +0000
+++ src/Symfony/Component/Messenger/Bridge/Doctrine/EventListener/PostgreSqlWaitForPgNotifyOnIdleListener.php	2022-09-22 15:43:56.198112164 +0000
@@ -132,7 +132,7 @@
                     continue;
                 }
 
-                throw new RuntimeException("Cannot start Messenger Worker with a set of PostgreSQL queues that do not have common configuration. Conflict configuration key: \"{$configurationKey}\". Expected value: \"{$leaderConnectionConfiguration[$configurationKey]}\", actual value: \"{$connectionConfiguration[$configurationKey]}\"");
+                throw new RuntimeException("Cannot start Messenger Worker with a set of PostgreSQL queues that do not have common configuration. Conflict configuration key: \"{$configurationKey}\". Expected value: \"{$leaderConnectionConfiguration[$configurationKey]}\", actual value: \"{$connectionConfiguration[$configurationKey]}\".");
             }
         }
 

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages