💄 improve: 优化前端在线规则
This commit is contained in:
parent
51f820629c
commit
bb3829462d
@ -188,7 +188,7 @@
|
||||
if (!ns.Host) ns.live = false
|
||||
else {
|
||||
const lastActive = new Date(ns.LastActive).getTime()
|
||||
if (Date.now() - lastActive > 5 * 1000) {
|
||||
if (Date.now() - lastActive > 10 * 1000) {
|
||||
ns.live = false
|
||||
} else {
|
||||
ns.live = true
|
||||
|
@ -246,7 +246,7 @@
|
||||
if (!ns.Host) ns.live = false
|
||||
else {
|
||||
const lastActive = new Date(ns.LastActive).getTime()
|
||||
if (Date.now() - lastActive > 5 * 1000) {
|
||||
if (Date.now() - lastActive > 10 * 1000) {
|
||||
ns.live = false
|
||||
} else {
|
||||
ns.live = true
|
||||
|
Loading…
Reference in New Issue
Block a user