mysql断线重连,解决队列或者定时任务类长时间操作数据库的场景
This commit is contained in:
parent
eecc48ad9a
commit
e9c86f43cc
@ -50,7 +50,7 @@ return [
|
||||
// 是否严格检查字段是否存在
|
||||
'fields_strict' => true,
|
||||
// 是否需要断线重连
|
||||
'break_reconnect' => false,
|
||||
'break_reconnect' => true,
|
||||
// 监听SQL
|
||||
'trigger_sql' => env('app_debug', true),
|
||||
// 开启字段缓存
|
||||
|
Loading…
x
Reference in New Issue
Block a user