...
|
...
|
@@ -76,7 +76,7 @@ public class RedisLimitStrategy { |
|
|
|
|
|
RedisLimitor redisLimitor = redisConcurrentFactory.newRedisLimitor(finalRKB.getKey(), permit, timeout, timeUnit);
|
|
|
boolean inbound = redisLimitor.tryAcquire();
|
|
|
|
|
|
logger.info("checkLimitBySingleRule finish key {} inbound {}", finalRKB.getKey(), inbound);
|
|
|
CheckResultNode crn = CheckResultNode.builder().inbound(inbound).redisLimitor(redisLimitor).build();
|
|
|
return crn;
|
|
|
}
|
...
|
...
|
|