-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
PRECONDITION_FAILED error occurs in long-running consumers #427
Comments
Hello, I guess it happens when you take more than 30min (1800000ms) to ack a message |
Note that this is an error returned by the server that lapin just forwards, it doesn't seem to be linked to any thing in lapin? |
Hi @Keruspe, I really appreciate your valuable insights—thank you!
Do you think there’s anything in my implementation that might be causing this, or is there something I could be missing? If I’m not exceeding the 30-minute (1800000ms) ack limit, I wonder what else might trigger this behavior. Thanks again for your time and help—I really appreciate it! |
After how long does this usually happen, and how much messages do you deal with per second/minute/hour (depending on your scale) ? |
Hi! First of all, thank you for your library!
I'm new to Rust and currently using lapin = 2.5.0.
I'm trying to run multiple long-lived consumers that can automatically reconnect and gracefully shut down when needed. However, after running for an extended period, I occasionally encounter a PRECONDITION_FAILED error.
Here is a simplified version of my code:
I'm not entirely sure how this issue occurs. It seems similar to issue #357, but since I don't have deep experience with async Rust, I might be missing something obvious. Could it be that my implementation is incorrect?
Any guidance would be greatly appreciated!
The text was updated successfully, but these errors were encountered: