Skip to content
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

Add warning for blocking tasks that block the sim #160

Open
LucioFranco opened this issue Dec 22, 2023 · 0 comments · May be fixed by #162
Open

Add warning for blocking tasks that block the sim #160

LucioFranco opened this issue Dec 22, 2023 · 0 comments · May be fixed by #162

Comments

@LucioFranco
Copy link
Member

Related to #139 we should add a warning that prints when a blocking task is still active in the runtime causing the next tick to not happen. This can be done by 1) adding a blocking task count metric to tokio-metrics and then to spin a bg thread that checks this metric and some sort of tick count. It will then start printing if the tick can not progress.

@Benjscho Benjscho linked a pull request Jan 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant