Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Increase timeout on setup contract and rollover protocols
Browse files Browse the repository at this point in the history
We have seen a lot of timeouts of the rollover protocol on mainnet maker.
We hope this change will decrease the occurrence of this issue.
  • Loading branch information
klochowicz committed May 6, 2022
1 parent 03d4684 commit 1e5af57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/src/setup_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use std::time::Duration;
use xtra::prelude::MessageChannel;

/// How long protocol waits for the next message before giving up
const MSG_TIMEOUT: Duration = Duration::from_secs(60);
const MSG_TIMEOUT: Duration = Duration::from_secs(120);

/// Given an initial set of parameters, sets up the CFD contract with
/// the other party.
Expand Down

0 comments on commit 1e5af57

Please sign in to comment.