summaryrefslogtreecommitdiff
path: root/runtime/tokio_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tokio_util.rs')
-rw-r--r--runtime/tokio_util.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs
index da6e8b221..0d81f6e23 100644
--- a/runtime/tokio_util.rs
+++ b/runtime/tokio_util.rs
@@ -81,8 +81,9 @@ where
let handle = tokio::runtime::Handle::current();
let runtime_monitor = RuntimeMonitor::new(&handle);
tokio::spawn(async move {
+ #[allow(clippy::print_stderr)]
for interval in runtime_monitor.intervals() {
- println!("{:#?}", interval);
+ eprintln!("{:#?}", interval);
// wait 500ms
tokio::time::sleep(std::time::Duration::from_millis(
metrics_interval,