-
Notifications
You must be signed in to change notification settings - Fork 0
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
Q: what does "Object has already been returned to this pool or is invalid" mean in lock
#71
Comments
Hi there! Thanks for stoping by Redpulsar. |
The use case is to run a SimplifiedMutex to stop other pods from executing a computing heavy method. |
Since ObjectPool manages connection in the pool, best thing to do it let it manage. Please try using the newest lib: I also recommend to set pool size, by default it have only 8 connections. Here is example in kotlin how to do it: |
Thanks a lot, really impressed. |
Just wanted to follow-up here, we use the new version, works fine, was not able to update the pool size tho 🙈 |
Hi,
great library, thanks a ton for that!
What I am observing in the production environment is, getting this exception
when trying to
lock
. Any idea what that can mean and how should I fix that?Thanks in advance!
The text was updated successfully, but these errors were encountered: