OLPMO
OLPMO
Could you provide a minimal demo to reproduce this bug?
@deckarep Has this improvement been mergeed into the release ?
I made some debug and found the reason of the bug.But I have no idea to fix the bug unless I break original structrue of the code. This bug was...
``` RateLimiter rateLimiter = RateLimiter.create(10, 500, TimeUnit.MILLISECONDS); rateLimiter.tryAcquire(5); Thread.sleep(520); for (int i = 0; i < 20; i++) { boolean ret = rateLimiter.tryAcquire(); System.out.println("tryAcquire result:" + ret); Thread.sleep(120); } ```...