update - 记录客户端信息增加锁

This commit is contained in:
wangli 2024-02-19 16:38:35 +08:00
parent 7645778dbe
commit 569a81e102

View File

@ -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));