添加超时设置
This commit is contained in:
parent
db453754b7
commit
1078afd071
@ -169,6 +169,7 @@ class KefuController {
|
|||||||
|
|
||||||
public function notifyAllUser()
|
public function notifyAllUser()
|
||||||
{
|
{
|
||||||
|
set_time_limit(1800);
|
||||||
$media_conf = array();
|
$media_conf = array();
|
||||||
$dbconfs = require('../config/kefu.mysql.cluster.php');;
|
$dbconfs = require('../config/kefu.mysql.cluster.php');;
|
||||||
foreach($dbconfs as $dbconf) {
|
foreach($dbconfs as $dbconf) {
|
||||||
@ -242,7 +243,7 @@ class KefuController {
|
|||||||
if (isset($share_conf[$row['gameid']])) {
|
if (isset($share_conf[$row['gameid']])) {
|
||||||
$game_conf = $share_conf[$row['gameid']];
|
$game_conf = $share_conf[$row['gameid']];
|
||||||
if (!isset($media_conf[$row['gameid']])) {
|
if (!isset($media_conf[$row['gameid']])) {
|
||||||
$media_conf['gameid'] = $this->getMediaId($row['gameid']);
|
$media_conf[$row['gameid']] = $this->getMediaId($row['gameid']);
|
||||||
}
|
}
|
||||||
$game_conf['thumb_media_id'] = $media_conf[$row['gameid']];
|
$game_conf['thumb_media_id'] = $media_conf[$row['gameid']];
|
||||||
$this->sendKefuMsg($row['accountid'],
|
$this->sendKefuMsg($row['accountid'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user