-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example output is not matched with actual output #157
Comments
Discovered that the problem is in waiting for expiration, changing time from 12ms to 100ms fixed the behavior. // wait for cache to expire
time.Sleep(time.Millisecond * 12) |
I think you've run into this bug: #150 which has been fixed and will be in the next release |
Tried with the latest version 2.0.7, but the behavior remains the same.
With sleep time of 190 ms works as expected. In the new version |
I would propose to alter the example in the code and Readme to have values which produce consistent results. |
Hi, I tried this example (go version go1.21.1 linux/amd64)
And instead of
got
Should I make pr to readme or lib is not supposed to work like this?
The text was updated successfully, but these errors were encountered: