Skip to content

Commit

Permalink
Change time duration for processing RPC requests log to microseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1-dev authored and shesek committed Feb 24, 2024
1 parent 626d7d3 commit f9eeb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electrum/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
);
Expand Down

0 comments on commit f9eeb34

Please sign in to comment.