We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
queue/listen
1 parent 46b2eff commit 9dd5534Copy full SHA for 9dd5534
CHANGELOG.md
@@ -4,7 +4,7 @@ Yii2 Queue Extension Change Log
4
2.3.8 under development
5
-----------------------
6
7
-- no changes in this release.
+- Bug #522: Fix SQS driver type error with custom value passed to `queue/listen` (flaviovs)
8
9
10
2.3.7 April 29, 2024
src/drivers/sqs/Command.php
@@ -48,6 +48,8 @@ public function actionListen($timeout = 3)
48
if (!is_numeric($timeout)) {
49
throw new Exception('Timeout must be numeric.');
50
}
51
+ $timeout = (int) $timeout;
52
+
53
if ($timeout < 1 || $timeout > 20) {
54
throw new Exception('Timeout must be between 1 and 20');
55
0 commit comments