thread 'main' panicked at 'A Tokio 1.x context was found, but timers are disabled. Call enable_time
on the runtime builder to enable timers.'
#5460
Unanswered
Hans-Wu-cn
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You're creating a runtime without timers enabled somewhere in your program. It isn't in the snippet you shared, since |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to solve the panic when using asynchrony? The code is as follows.
Beta Was this translation helpful? Give feedback.
All reactions