{"data":{"id":"magento2-40110","source":"github-pr","sourceRef":"magento/magento2#40110","title":"Allow queue-specific configuration to exceed the default max-messages value","pr":{"number":40110,"url":"https://github.com/magento/magento2/pull/40110","author":"baudeval","mergedAt":"2025-09-15T06:18:45Z","mergeCommit":"79fdc472440e328a33273745ca91253d24b279bf","headCommit":"0f269603bbf6e7c77407ab7af5e5c83f84f818b9","baseRef":"2.4-develop","diffSha256":"90a613e12535bf7d0376dedf039c9ba30857ebca6819aa65b152b4df67b3de59"},"issues":[{"number":40121,"url":"https://github.com/magento/magento2/issues/40121","title":"[Issue] Allow queue-specific configuration to exceed the default max-messages value","labels":["Area: Framework","Component: MessageQueue","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-message-queue"],"files":[{"path":"app/code/Magento/MessageQueue/Model/Cron/ConsumersRunner.php","change":"modified","package":"magento/module-message-queue"}],"stripped":{"tests":["app/code/Magento/MessageQueue/Test/Unit/Model/Cron/ConsumersRunnerTest.php"],"docs":[],"outsideCode":[]},"linesChanged":41,"mergeBatched":false,"excluded":null,"sections":{"description":"Allow queue-specific configuration to exceed the default max-messages value","stepsToReproduce":"Create queue with max message higter default value","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Framework"],"component":["MessageQueue"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"f4cf1dbfc4dbf79bd2495f3e55fe7e42c09eeac7c2858d1e988d05c00cc9adc3","isBugfix":0.7792,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8806,"feature":0.0872,"refactor":0.021,"tests_only":0.0058,"docs_only":0.0024,"dependency":0.003},"confidence":0.7404},"scope":{"score":0.8208,"probabilities":{"0":0.4115,"1":0.3562,"2":0.2323},"confidence":0.0253},"risk":{"score":0.3996,"probabilities":{"0":0.6466,"1":0.3071,"2":0.0463},"confidence":0.2719},"area":{"choice":"framework","probabilities":{"catalog":0.0025,"checkout":0.0025,"customer":0.0023,"admin":0.0044,"graphql_api":0.0022,"framework":0.9801,"frontend":0.0026,"other":0.0034},"confidence":0.9551},"securityRelevant":0.0065,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0049,"2.4.0-p1":0.0044,"2.4.1":0.004,"2.4.1-p1":0.0036,"2.4.2":0.0051,"2.4.2-p1":0.0049,"2.4.2-p2":0.0061,"2.4.3":0.0079,"2.4.3-p1":0.0089,"2.4.3-p2":0.0096,"2.4.3-p3":0.0064,"2.4.4":0.0135,"2.4.4-p1":0.0068,"2.4.4-p10":0.007,"2.4.4-p11":0.0075,"2.4.4-p12":0.0065,"2.4.4-p13":0.0067,"2.4.4-p14":0.0085,"2.4.4-p15":0.0062,"2.4.4-p16":0.0068,"2.4.4-p17":0.0061,"2.4.4-p18":0.0056,"2.4.4-p2":0.0031,"2.4.4-p3":0.0037,"2.4.4-p4":0.0039,"2.4.4-p5":0.0044,"2.4.4-p6":0.0043,"2.4.4-p7":0.0044,"2.4.4-p8":0.0052,"2.4.4-p9":0.0042,"2.4.5":0.0154,"2.4.5-p1":0.0089,"2.4.5-p10":0.0071,"2.4.5-p11":0.0103,"2.4.5-p12":0.0092,"2.4.5-p13":0.0082,"2.4.5-p14":0.0086,"2.4.5-p15":0.0067,"2.4.5-p16":0.0074,"2.4.5-p17":0.0075,"2.4.5-p2":0.0035,"2.4.5-p3":0.0054,"2.4.5-p4":0.0044,"2.4.5-p5":0.0061,"2.4.5-p6":0.0063,"2.4.5-p7":0.0056,"2.4.5-p8":0.0049,"2.4.5-p9":0.0052,"2.4.6":0.0374,"2.4.6-p1":0.0222,"2.4.6-p10":0.0115,"2.4.6-p11":0.0149,"2.4.6-p12":0.0129,"2.4.6-p13":0.0122,"2.4.6-p14":0.0117,"2.4.6-p15":0.0098,"2.4.6-p2":0.0045,"2.4.6-p3":0.0074,"2.4.6-p4":0.0091,"2.4.6-p5":0.0072,"2.4.6-p6":0.0105,"2.4.6-p7":0.0078,"2.4.6-p8":0.0079,"2.4.6-p9":0.0064,"2.4.7":0.0238,"2.4.7-p1":0.0159,"2.4.7-p10":0.0099,"2.4.7-p2":0.0083,"2.4.7-p3":0.0126,"2.4.7-p4":0.0156,"2.4.7-p5":0.014,"2.4.7-p6":0.0151,"2.4.7-p7":0.0133,"2.4.7-p8":0.0106,"2.4.7-p9":0.0067,"2.4.8":0.0211,"2.4.8-p1":0.0173,"2.4.8-p2":0.0184,"2.4.8-p3":0.0193,"2.4.8-p4":0.017,"2.4.8-p5":0.0159,"2.4.9":0.0231,"unspecified":0.2178},"confidence":0.0462},"backportWorthy":{"score":1.5745,"probabilities":{"0":0.0955,"1":0.2345,"2":0.67},"confidence":0.2695}},"curated":{"title":"Fixes queue consumer max-messages ignoring a higher value set per queue","description":"When a queue sets max-messages in queue_consumer.xml above the default, the cron ConsumersRunner still starts queue:consumers:start with the lower default, because the logic applies min(). ConsumersRunner now passes the queue-specific value and logs a warning when it exceeds the configured default.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:20:14.325Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:20:14.325Z"}}},"2.4.7-p10":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:29:25.394Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:29:25.394Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40110 details"}