Skip to content

Commit

Permalink
fix: include complete timeout in signature generator failure (#927)
Browse files Browse the repository at this point in the history
Co-authored-by: Xiangyi Zheng <[email protected]>
  • Loading branch information
ppca and Xiangyi Zheng authored Nov 20, 2024
1 parent b69ce2f commit dce63db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chain-signatures/node/src/protocol/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ impl SignatureManager {
));
} else {
self.completed.insert(sign_request_identifier.clone(), Instant::now());
crate::metrics::SIGNATURE_GENERATOR_FAILURES
.with_label_values(&[self.my_account_id.as_str()])
.inc();
crate::metrics::SIGNATURE_FAILURES
.with_label_values(&[self.my_account_id.as_str()])
.inc();
Expand Down

0 comments on commit dce63db

Please sign in to comment.