chatpresence timing out too quickly
This commit is contained in:
parent
2822e6e70a
commit
0013e59086
@ -66,7 +66,7 @@ function ping_init(&$a) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
q("delete from chatpresence where cp_last < UTC_TIMESTAMP() - INTERVAL 2 MINUTE");
|
q("delete from chatpresence where cp_last < UTC_TIMESTAMP() - INTERVAL 3 MINUTE");
|
||||||
|
|
||||||
if((! local_user()) || ($result['invalid'])) {
|
if((! local_user()) || ($result['invalid'])) {
|
||||||
echo json_encode($result);
|
echo json_encode($result);
|
||||||
|
Reference in New Issue
Block a user