Errors when workers have been idle for one hour #660
Replies: 2 comments 14 replies
-
Hmm, I don't think we have any timeouts that would align with this. On the notifier's listen connection, we're also pinging every 5 seconds to maintain connection liveness. I'm wondering if this might be a setting at either the Out of curiosity, have you tried inserting a no-op periodic job on a 55 minute cadence (using periodic jobs) to see if it makes this error go away? Or you could periodically execute a query to |
Beta Was this translation helpful? Give feedback.
-
We run into this quite a bit as well. I think it's due to the cloud provider limit on how long a connection can stay open. It doesn't seem to be an issue because the code retries and reconnects. However, logging it at error level is a bit scary and sets off our alerting. @bgentry what are your thoughts about reducing the following statement to log at river/internal/notifier/notifier.go Lines 149 to 153 in fd01492 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using the Golang SDK v0.11.4 and I get these errors from Riverqueue
It seems like they happen when the worker has been idle for one hour because the last error message seems to be exactly one hour before these start to occur. And after that, they happen every hour if there are no jobs still.
I'm using this configuration:
I have tried to find examples of this error and have tried to find hints in the documentation on how the client can be configured but with no success. Would appreciate some help on this.
BR
Johan Hyrefeldt
Beta Was this translation helpful? Give feedback.
All reactions