fix - 调整记录客户端版本的处理
This commit is contained in:
parent
0837505242
commit
2542cb9f87
@ -91,7 +91,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
||||
log.info("repeatApi key: {}", cacheRepeatKey);
|
||||
|
||||
//success为true表示key不存在,执行成功,false表示key存在,执行失败
|
||||
Boolean success = RedisUtils.trySetObject(cacheRepeatKey, "", Duration.ofSeconds(5));
|
||||
Boolean success = RedisUtils.trySetObject(cacheRepeatKey, "", Duration.ofSeconds(60));
|
||||
if (success) {
|
||||
KEY_CACHE.set(cacheRepeatKey);
|
||||
insert(extAxProperty, applicationName, clientVersion, manageableStatus);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user