mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Fixed nsq max idle time. (#3621)
* Fixed nsq max idle time. * Update nsq.md Co-authored-by: 李铭昕 <715557344@qq.com>
This commit is contained in:
parent
5eada19fb0
commit
f258bfa255
@ -28,7 +28,8 @@ return [
|
||||
'connect_timeout' => 10.0,
|
||||
'wait_timeout' => 3.0,
|
||||
'heartbeat' => -1,
|
||||
'max_idle_time' => 60.0,
|
||||
// 因为 Nsq 服务默认的闲置时间是 60s,故框架维护的最大闲置时间应小于 60s
|
||||
'max_idle_time' => 30.0,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
@ -20,7 +20,7 @@ return [
|
||||
'connect_timeout' => 10.0,
|
||||
'wait_timeout' => 3.0,
|
||||
'heartbeat' => -1,
|
||||
'max_idle_time' => 60.0,
|
||||
'max_idle_time' => 30.0,
|
||||
],
|
||||
'nsqd' => [
|
||||
'port' => 4151,
|
||||
|
Loading…
Reference in New Issue
Block a user