8000 Remove memory limit -1 · symfony/symfony@e733ea7 · GitHub
[go: up one dir, main page]

Skip to content

Commit e733ea7

Browse files
authored
Remove memory limit -1
1 parent 8b8b368 commit e733ea7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Messenger/Command/ConsumeMessagesCommand.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
102102

103103
private function convertToBytes($memoryLimit)
104104
{
105-
if ('-1' === $memoryLimit) {
106-
return -1;
107-
}
108-
109105
$memoryLimit = strtolower($memoryLimit);
110106
$max = strtolower(ltrim($memoryLimit, '+'));
111107
if (0 === strpos($max, '0x')) {

0 commit comments

Comments
 (0)
0