update - 记录客户端信息增加锁
This commit is contained in:
parent
7645778dbe
commit
569a81e102
@ -60,7 +60,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
||||
return true;
|
||||
}
|
||||
|
||||
private synchronized void recordClientInfo(HttpServletRequest request, String headerClientVersion,
|
||||
private void recordClientInfo(HttpServletRequest request, String headerClientVersion,
|
||||
DefaultArtifactVersion clientVersion) {
|
||||
ExtAxProperty property = extAxPropertyService.getByName(request.getHeader(HEADER_SERVER_NAME)).map(entity -> {
|
||||
entity.setCreated(!Objects.equals(entity.getValue(), serviceVersion));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user