Skip to content

Commit fc21c31

Browse files
authored
Merge pull request #1084 from jcrombez/patch-1
[async-command] Fix service definition to apply the timeout
2 parents b93e327 + 1772a88 commit fc21c31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/async-command/DependencyInjection/AsyncCommandExtension.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function load(array $configs, ContainerBuilder $container)
2424

2525
$id = sprintf('enqueue.async_command.%s.run_command_processor', $client['name']);
2626
$container->register($id, RunCommandProcessor::class)
27-
->addArgument('%kernel.project_dir%', $client['timeout'])
27+
->addArgument('%kernel.project_dir%')
28+
->addArgument($client['timeout'])
2829
->addTag('enqueue.processor', [
2930
'client' => $client['name'],
3031
'command' => $client['command_name'] ?? Commands::RUN_COMMAND,

0 commit comments

Comments
 (0)