Skip to content

Commit a5d4300

Browse files
committed
MC-19250: The stuck deployment on the Cloud because of consumers
1 parent 65fafd2 commit a5d4300

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

app/code/Magento/MessageQueue/Setup/ConfigOptionsList.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ class ConfigOptionsList implements ConfigOptionsListInterface
3131
/**
3232
* Default value
3333
*/
34-
const DEFULT_CONSUMERS_WAIT_FOR_MESSAGES = 1;
34+
const DEFAULT_CONSUMERS_WAIT_FOR_MESSAGES = 1;
3535

36+
/**
37+
* The available configuration values
38+
*
39+
* @var array
40+
*/
3641
private $selectOptions = [0, 1];
3742

3843
/**
@@ -47,7 +52,7 @@ public function getOptions()
4752
$this->selectOptions,
4853
self::CONFIG_PATH_QUEUE_CONSUMERS_WAIT_FOR_MESSAGES,
4954
'Should consumers wait for a message from the queue? 1 - Yes, 0 - No',
50-
self::DEFULT_CONSUMERS_WAIT_FOR_MESSAGES
55+
self::DEFAULT_CONSUMERS_WAIT_FOR_MESSAGES
5156
),
5257
];
5358
}

0 commit comments

Comments
 (0)