Commit 9ddddef
committed
fix(kyoto): make a runtime environment for DNS
The `lookup_host` function requires a `tokio` runtime to execute, but
since it is outside of the `Node`, this function panics when called. Add
a runtime, which is essentially an OS thread in this context, to
complete the call.1 parent b955a48 commit 9ddddef
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
372 | 376 | | |
373 | 377 | | |
374 | 378 | | |
| |||
0 commit comments