Skip to content

Commit 2017397

Browse files
committed
Optimization
1 parent a236481 commit 2017397

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config/database.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
'strict' => true,
1616
'engine' => null,
1717
'options' => [
18-
PDO::ATTR_EMULATE_PREPARES => false,
18+
PDO::ATTR_EMULATE_PREPARES => false, // Must be false for Swoole and Swow drivers.
1919
],
20+
// Connection pool, supports only Swoole or Swow drivers.
2021
'pool' => [
2122
'max_connections' => 5,
2223
'min_connections' => 1,

0 commit comments

Comments
 (0)