Skip to content

Commit ba49fc5

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 0bc1117 + 6fbf6cb commit ba49fc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

etc/di/redis-client.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
use React\EventLoop\LoopInterface;
77

88
return [
9-
Client::class => function (LoopInterface $loop, string $dsn, LoggerInterface $logger = null) {
9+
Client::class => \DI\factory(function (LoopInterface $loop, string $dsn, LoggerInterface $logger = null) {
1010
return WaitingClient::create($loop, $dsn, $logger);
11-
},
11+
})
12+
->parameter('dsn', \DI\get('config.redis.dsn')),
1213
];

0 commit comments

Comments
 (0)