Skip to content

Commit 27d70f3

Browse files
committed
Merge pull request #51 from jakzal/bugfix/ironmq-host
Pass the iron.io host to the IronMQ definition.
2 parents 5119101 + ac75d4c commit 27d70f3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/DependencyInjection/UecodeQPushExtension.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ private function createIronMQClient($config, ContainerBuilder $container)
169169
$ironmq->setArguments([
170170
[
171171
'token' => $config['token'],
172-
'project_id' => $config['project_id']
172+
'project_id' => $config['project_id'],
173+
'host' => sprintf('%s.iron.io', $config['host']),
174+
'port' => $config['port'],
175+
'api_version' => $config['api_version']
173176
]
174177
]);
175178

0 commit comments

Comments
 (0)