Signed-off-by: zume0127 <790589151@qq.com> Signed-off-by: zume0127 <790589151@qq.com>
This commit is contained in:
parent
0e346f0024
commit
62b03ff915
@ -173,8 +173,8 @@ public class ClientTrackService {
|
|||||||
return record;
|
return record;
|
||||||
}
|
}
|
||||||
ClientRecord clientRecord = new ClientRecord(clientIp);
|
ClientRecord clientRecord = new ClientRecord(clientIp);
|
||||||
clientRecords.putIfAbsent(clientIp, clientRecord);
|
record = clientRecords.putIfAbsent(clientIp, clientRecord);
|
||||||
return clientRecord;
|
return null == record ? clientRecord : record;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void refreshClientRecord() {
|
public static void refreshClientRecord() {
|
||||||
|
Loading…
Reference in New Issue
Block a user