Skip to content

Commit f65ad68

Browse files
committed
DROPME try
1 parent 48a42f1 commit f65ad68

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/vss-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
cd ldk-node
7676
export TEST_VSS_BASE_URL="http://localhost:8080/vss"
7777
RUSTFLAGS="--cfg vss_test" cargo build --verbose --color always
78-
RUSTFLAGS="--cfg vss_test" cargo test --test integration_tests_vss
78+
RUSTFLAGS="--cfg vss_test --cfg tokio_unstable" cargo test --test integration_tests_vss -- --nocapture
7979
8080
- name: Cleanup
8181
run: |

src/runtime.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ impl Runtime {
5555
// to detect the outer context here, and otherwise use whatever was set during
5656
// initialization.
5757
let handle = tokio::runtime::Handle::try_current().unwrap_or(self.handle());
58+
#[cfg(tokio_unstable)]
59+
{
60+
println!(
61+
"Tokio blocking queue depth: {}",
62+
handle.metrics().blocking_queue_depth()
63+
);
64+
}
5865
tokio::task::block_in_place(move || handle.block_on(future))
5966
}
6067

0 commit comments

Comments
 (0)