diff --git a/app/Services/IndexService.php b/app/Services/IndexService.php index 1a07412..374f1f8 100644 --- a/app/Services/IndexService.php +++ b/app/Services/IndexService.php @@ -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']); +// } }); // 推荐医生 diff --git a/config/autoload/databases.php b/config/autoload/databases.php index 7ac123b..7adca88 100644 --- a/config/autoload/databases.php +++ b/config/autoload/databases.php @@ -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,