Skip to content

Commit 1b70f33

Browse files
committed
save
1 parent 358813c commit 1b70f33

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/config/think-cache.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
'tag_expire' => 86400 * 30,
1919
// 缓存标签前缀
2020
'tag_prefix' => 'tag:',
21-
// 连接池配置(仅在swow/swoole驱动下有效)
21+
// 连接池配置
2222
'pool' => [
23-
'max_connections' => 5,
24-
'min_connections' => 1,
25-
'wait_timeout' => 3,
26-
'idle_timeout' => 60,
27-
'heartbeat_interval' => 50,
23+
'max_connections' => 5, // 最大连接数
24+
'min_connections' => 1, // 最小连接数
25+
'wait_timeout' => 3, // 从连接池获取连接等待超时时间
26+
'idle_timeout' => 60, // 连接最大空闲时间,超过该时间会被回收
27+
'heartbeat_interval' => 50, // 心跳检测间隔,需要小于60秒
2828
],
2929
],
3030
// 文件缓存

0 commit comments

Comments
 (0)