From f9eeb348db57c346f768ee3f44832159d2871c48 Mon Sep 17 00:00:00 2001 From: rem1-dev <150667999+rem1-dev@users.noreply.github.com> Date: Fri, 23 Feb 2024 11:43:35 +0100 Subject: [PATCH] Change time duration for processing RPC requests log to microseconds --- src/electrum/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electrum/server.rs b/src/electrum/server.rs index 41234475e..b319f95eb 100644 --- a/src/electrum/server.rs +++ b/src/electrum/server.rs @@ -564,7 +564,7 @@ impl Connection { "event": "rpc response", "method": method, "payload_size": reply.to_string().as_bytes().len(), - "duration_ms": start_time.elapsed().as_millis(), + "duration_µs": start_time.elapsed().as_micros(), "id": id, }) );