Skip to content

Commit 4319c25

Browse files
Merge branch '5.3' into 5.4
* 5.3: [HttpClient] Remove deprecated usage of `GuzzleHttp\Promise\queue` [PropertyAccess] Fix handling of uninitialized property of anonymous class [FrameworkBundle] Allow default cache pools to be overwritten by user [DependencyInjection] fix test ResolveBindingsPass remove loading of class iterable [FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand [DependencyInjection] Fix nested env var with resolve processor Allow OutputFormatter::escape() to be used for escaping URLs used in <href> allow a zero time-limit [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory [Validators] Add translations for Slovak #43735
2 parents 4c5dc66 + 411ff54 commit 4319c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/ConsumeMessagesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
191191
$this->eventDispatcher->addSubscriber(new StopWorkerOnMemoryLimitListener($this->convertToBytes($memoryLimit), $this->logger));
192192
}
193193

194-
if ($timeLimit = $input->getOption('time-limit')) {
194+
if (null !== ($timeLimit = $input->getOption('time-limit'))) {
195195
$stopsWhen[] = "been running for {$timeLimit}s";
196196
$this->eventDispatcher->addSubscriber(new StopWorkerOnTimeLimitListener($timeLimit, $this->logger));
197197
}

0 commit comments

Comments
 (0)