-
Notifications
You must be signed in to change notification settings - Fork 451
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
SIGINT ignored when using .install_batch(opentelemetry::runtime::Tokio)
#731
Comments
I think you need to use |
I don't know what those macros do, but I'd imagine |
There are few options here. One is using actic-web-opentelemetry repo. Or you can simplely enable |
Oh, ok! It was unclear to me what Will give that a shot, thank you. |
This worked, thanks. I looked at documentation and the only explanation sort of hinting at the full context of what you said is here
|
I've confirmed that when using
.install_batch(opentelemetry::runtime::Tokio)
I cannot stop the running program via^C
(in my case with Tokio but maybe this is true for any runtime). When using.install_simple()
I can use SIGINT to kill the program no problem.more here actix/actix-web#2638
The text was updated successfully, but these errors were encountered: