Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
no fun with timorl
  • Loading branch information
Damian Leśniak committed Dec 6, 2022
commit 5e9a3e2935f07d1823c0ac0a4a7a84df3d4478fc
3 changes: 2 additions & 1 deletion finality-aleph/src/validator_network/outgoing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ impl<PK: PublicKey, A: Data, ND: Dialer<A>> Display for OutgoingError<PK, A, ND>
}
}

const DIAL_TIMEOUT: Duration = Duration::from_secs(43);
/// Arbitrarily chosen timeout, should be more than enough.
const DIAL_TIMEOUT: Duration = Duration::from_secs(60);

async fn manage_outgoing<SK: SecretKey, D: Data, A: Data, ND: Dialer<A>>(
secret_key: SK,
Expand Down