This commit is contained in:
parent
c1d81b9af5
commit
0d28bd3445
@ -373,7 +373,7 @@ func (clients) Status(c *gin.Context) {
|
|||||||
ipAllocation += iaip.String() + ","
|
ipAllocation += iaip.String() + ","
|
||||||
}
|
}
|
||||||
ipAllocation = strings.TrimRight(ipAllocation, ",")
|
ipAllocation = strings.TrimRight(ipAllocation, ",")
|
||||||
isOnline := time.Since(p.LastHandshakeTime).Minutes() < 1
|
isOnline := time.Since(p.LastHandshakeTime).Minutes() < 3
|
||||||
data = append(data, vo.ClientStatus{
|
data = append(data, vo.ClientStatus{
|
||||||
ID: clientInfo.Id,
|
ID: clientInfo.Id,
|
||||||
Name: clientInfo.Name,
|
Name: clientInfo.Name,
|
||||||
|
Loading…
Reference in New Issue
Block a user