Skip to content

Commit

Permalink
revert timeout setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlinjiang committed Jun 11, 2024
1 parent 56bc232 commit fbc4d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation/signing_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ impl SigningMethod {
// I set this to be the epoch remaining time for selection proof, so bad committee (VA) might take several mintues
// to timeout, making duties of other VAs outdated.)
// 2. most duties should complete in a slot
let task_timeout = Duration::from_secs(seconds_per_slot / 2);
let task_timeout = Duration::from_secs(seconds_per_slot * 2 / 3);
let timeout = sleep(task_timeout);
let work = dvf_signer.threshold_sign(signing_root);
let dt: DateTime<Utc> = Utc::now();
Expand Down

0 comments on commit fbc4d9f

Please sign in to comment.