You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application using tokio-cron-scheduler. However, after the application starting and running for a while, the cron scheduler no longer work and print Tick send error SendError(true) to the console every 500ms.
I did some investigation on it, here is the source code where produce the error:
An unsuccessful send would be one where all associated [Receiver] handles have already been dropped.
I have no idea why this occurs. Would you please provide some hints or suggestions for how to debug this error? Since my application is a little complex, so I'm sorry that I can't provide a minimal example to reproduce the issue.
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi @jukanntenn
Yes, an MPSC receiver channel was dropped somewhere causing this. Can be that your job scheduler variable ran out of scope. It is a bit hard to debug without the code though.
I have an application using tokio-cron-scheduler. However, after the application starting and running for a while, the cron scheduler no longer work and print
Tick send error SendError(true)
to the console every 500ms.I did some investigation on it, here is the source code where produce the error:
tokio::sync::broadcast::Sender
documentation saysI have no idea why this occurs. Would you please provide some hints or suggestions for how to debug this error? Since my application is a little complex, so I'm sorry that I can't provide a minimal example to reproduce the issue.
Thanks a lot!
The text was updated successfully, but these errors were encountered: