We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da26459 commit 30035d4Copy full SHA for 30035d4
dsigner/src/main.rs
@@ -58,9 +58,14 @@ async fn sign_handler(
58
State(state): State<Arc<AppState>>,
59
Json(payload): Json<SignRequest>,
60
) -> Response {
61
+ let start = std::time::Instant::now();
62
+
63
// Call the async signing function
64
let sig_res = state.async_signer.async_sign(&payload.m).await;
65
66
+ let duration = start.elapsed();
67
+ tracing::debug!("Signing operation took {}ms", duration.as_millis());
68
69
if let Ok(sig) = sig_res {
70
let base64_sig = sig
71
.ser_base64()
0 commit comments