825 Star 2.8K Fork 1.3K

Discuz / DiscuzX

Merged
!316 mysqli支持persistent connection

oldhuhu:mysqli-persistent-connection Discuz:master

oldhuhu Created on: 2019-12-23 14:16

基于 !160:fix: db_driver_mysqli 未处理长连接配置 ,之前的PR已经发生了变动,无法合并。

在$dbhost之前加 "p:",表示persistent connection

具体的限制和说明,请参考官方文档:

https://www.php.net/manual/zh/mysqli.persistconns.php

0 comments, 1 participants 5247157 oldhuhu 1578983196

Show action logs Hide action logs
DiscuzX merged Pull Request 2019-12-26 15:32
DiscuzX check passed 2019-12-26 15:31
oldhuhu assigned reviewer 湖中沉 2019-12-23 14:16
oldhuhu assigned reviewer oldhuhu 2019-12-23 14:16
oldhuhu assigned reviewer monkeye 2019-12-23 14:16
oldhuhu assigned reviewer Discuz! 2019-12-23 14:16
oldhuhu assigned reviewer LooTan 2019-12-23 14:16
oldhuhu assigned reviewer comsenz-service 2019-12-23 14:16
oldhuhu assigned reviewer DiscuzX 2019-12-23 14:16
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385