Skip to content

Commit ad09eac

Browse files
author
Bohdan Korablov
committed
MAGETWO-93161: Fix Problems with Consumer Runners on Cloud Clusters
1 parent cd2394f commit ad09eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MessageQueue/Model/Cron/ConsumersRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function canBeRun($consumerName, array $allowedConsumers = [])
139139
*/
140140
private function getPidFilePath($consumerName)
141141
{
142-
$sanitizedHostname = preg_replace('/[^a-zA-Z0-9]/i', '', gethostname());
142+
$sanitizedHostname = preg_replace('/[^a-z0-9]/i', '', gethostname());
143143

144144
return $consumerName . '-' . $sanitizedHostname . static::PID_FILE_EXT;
145145
}

0 commit comments

Comments
 (0)