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