Merge pull request 'mysql断线重连,解决队列或者定时任务类长时间操作数据库的场景' (#180) from dev into preview

Reviewed-on: #180
This commit is contained in:
chenbo 2023-12-16 16:56:33 +08:00
commit 4b7b43a1d1

View File

@ -50,7 +50,7 @@ return [
// 是否严格检查字段是否存在
'fields_strict' => true,
// 是否需要断线重连
'break_reconnect' => false,
'break_reconnect' => true,
// 监听SQL
'trigger_sql' => env('app_debug', true),
// 开启字段缓存