|
@@ -85,7 +85,7 @@ class UserService
|
|
// QappAddDeskTopService::incrAddDeskTop($uid, QuickConst::FIELD_ADD_DESKTOP);
|
|
// QappAddDeskTopService::incrAddDeskTop($uid, QuickConst::FIELD_ADD_DESKTOP);
|
|
$start = time();
|
|
$start = time();
|
|
$job = new UserAddDeskJob($uid);
|
|
$job = new UserAddDeskJob($uid);
|
|
- dispatch($job)->onConnection('redis')->onQueue('{qapp_user_add_desk}')->delay(now()->addMinutes(3));
|
|
|
|
|
|
+ dispatch($job)->onConnection('redis_queue')->onQueue('{qapp_user_add_desk}')->delay(now()->addMinutes(3));
|
|
$time = time() - $start;
|
|
$time = time() - $start;
|
|
if ($time >= 1 ){
|
|
if ($time >= 1 ){
|
|
myLog('mq-put-timeout')->info("加桌队列-mq-投递超过1耗时".$time."s;路径:app/Modules/User/Services/UserService.php-qappAddDesktop方法 88行");
|
|
myLog('mq-put-timeout')->info("加桌队列-mq-投递超过1耗时".$time."s;路径:app/Modules/User/Services/UserService.php-qappAddDesktop方法 88行");
|
|
@@ -108,7 +108,7 @@ class UserService
|
|
|
|
|
|
$job = new UserAddDeskJob($uid);
|
|
$job = new UserAddDeskJob($uid);
|
|
$start = time();
|
|
$start = time();
|
|
- dispatch($job)->onConnection('redis')->onQueue('{qapp_user_add_desk}')->delay(now()->addMinutes(3));
|
|
|
|
|
|
+ dispatch($job)->onConnection('redis_queue')->onQueue('{qapp_user_add_desk}')->delay(now()->addMinutes(3));
|
|
$time = time() - $start;
|
|
$time = time() - $start;
|
|
if ($time >= 1 ){
|
|
if ($time >= 1 ){
|
|
myLog('mq-put-timeout')->info("加桌队列-mq-投递超过1耗时".$time."s;路径:app/Modules/User/Services/UserService.php-qappAddDesktop方法 111行");
|
|
myLog('mq-put-timeout')->info("加桌队列-mq-投递超过1耗时".$time."s;路径:app/Modules/User/Services/UserService.php-qappAddDesktop方法 111行");
|