Skip to content

Commit 859283e

Browse files
committed
fix dep bug
1 parent de7c271 commit 859283e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
],
1212
"require": {
1313
"rabbit/framework": "^1.0",
14-
"rabbit/db": "^1.0",
15-
"rabbit/socket": "^1.0"
14+
"rabbit/db": "^1.0"
1615
},
1716
"autoload": {
1817
"psr-4": {

src/MakeCKConnection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use rabbit\exception\InvalidConfigException;
99
use rabbit\helper\ArrayHelper;
1010
use rabbit\helper\UrlHelper;
11+
use rabbit\pool\PoolProperties;
1112
use function Swlib\Http\parse_query;
1213

1314
class MakeCKConnection
@@ -39,7 +40,7 @@ public static function addConnection(string $class, string $name, string $dsn, a
3940
} elseif ($driver === 'click') {
4041
$conn['dsn'] = $dsn;
4142
$poolConfig = [
42-
'class' => \rabbit\db\pool\PdoPoolConfig::class,
43+
'class' => PoolProperties::class,
4344
];
4445
[
4546
$poolConfig['minActive'],

0 commit comments

Comments
 (0)