修改下线时间问题
This commit is contained in:
parent
9b4bc2a51a
commit
ab7f8ad295
@ -61,8 +61,8 @@ class UserImOffDelayDirectConsumer extends ConsumerMessage
|
|||||||
$im_login_at = strtotime($user['im_login_at']);
|
$im_login_at = strtotime($user['im_login_at']);
|
||||||
|
|
||||||
$diff_time = time() - $im_login_at;
|
$diff_time = time() - $im_login_at;
|
||||||
// if ($diff_time <= (30 * 60 + 10)){
|
if ($diff_time <= (30 * 60 + 10)){
|
||||||
if ($diff_time <= (2 * 50)){
|
// if ($diff_time <= (2 * 50)){
|
||||||
Log::getInstance("queue-UserImOff")->info("用户刚上线未满30分钟,无需处理");
|
Log::getInstance("queue-UserImOff")->info("用户刚上线未满30分钟,无需处理");
|
||||||
return Result::ACK;
|
return Result::ACK;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user