增加mysql链接吃数量 暂时去除首页我的一生
This commit is contained in:
parent
186ba478ff
commit
16a6e6dfcd
@ -170,18 +170,18 @@ class IndexService extends BaseService
|
||||
$module = ModuleModel::getList($params);
|
||||
});
|
||||
|
||||
|
||||
// 我的医生
|
||||
$my_doctor = [];
|
||||
co(function () use ($wg, &$my_doctor,$user_info) {
|
||||
defer(function() use ($wg) {
|
||||
$wg->done();
|
||||
});
|
||||
|
||||
$PatientDoctorService = new PatientDoctorService();
|
||||
|
||||
if (!empty($user_info)) {
|
||||
$my_doctor = $PatientDoctorService->getIndexPatientDoctorLimit($user_info['client_user_id']);
|
||||
}
|
||||
// $PatientDoctorService = new PatientDoctorService();
|
||||
//
|
||||
// if (!empty($user_info)) {
|
||||
// $my_doctor = $PatientDoctorService->getIndexPatientDoctorLimit($user_info['client_user_id']);
|
||||
// }
|
||||
});
|
||||
|
||||
// 推荐医生
|
||||
|
||||
@ -24,8 +24,8 @@ return [
|
||||
'collation' => env('DB_COLLATION', 'utf8_unicode_ci'),
|
||||
'prefix' => env('DB_PREFIX', ''),
|
||||
'pool' => [
|
||||
'min_connections' => 10,
|
||||
'max_connections' => 50,
|
||||
'min_connections' => 20,
|
||||
'max_connections' => 100,
|
||||
'connect_timeout' => 10.0,
|
||||
'wait_timeout' => 5.0,
|
||||
'heartbeat' => -1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user