Commit 08a7449
committed
Avoid
As Alice Rhyl recommended (slightly reworded)
> Either you can use `tokio::runtime::Handle::block_on` [instead of
> `futures::executor::block_on`] or your program has a subtle
> deadlock.futures::executor::block_on in coordinator <-> worker IO1 parent 0f564e6 commit 08a7449
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2848 | 2848 | | |
2849 | 2849 | | |
2850 | 2850 | | |
| 2851 | + | |
| 2852 | + | |
2851 | 2853 | | |
2852 | | - | |
| 2854 | + | |
2853 | 2855 | | |
2854 | 2856 | | |
2855 | 2857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
| 454 | + | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
| |||
943 | 944 | | |
944 | 945 | | |
945 | 946 | | |
| 947 | + | |
946 | 948 | | |
947 | 949 | | |
948 | 950 | | |
| |||
959 | 961 | | |
960 | 962 | | |
961 | 963 | | |
962 | | - | |
| 964 | + | |
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
| |||
0 commit comments