fix - 调整记录客户端版本的处理

This commit is contained in:
wangli 2024-11-06 09:36:46 +08:00
parent 0837505242
commit 2542cb9f87

View File

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