mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 23:19:34 -05:00
Merge #472
472: Increase timeout sending/receiving protocol messages. r=bonomat a=bonomat Resolves #465 @thomaseizinger / @da-kami : Shall we make this configurable? Co-authored-by: Philipp Hoenisch <philipp@hoenisch.at>
This commit is contained in:
commit
7c18ae23a8
@ -81,7 +81,7 @@ impl Behaviour {
|
||||
Ok(state2)
|
||||
};
|
||||
|
||||
async move { tokio::time::timeout(Duration::from_secs(10), protocol).await? }
|
||||
async move { tokio::time::timeout(Duration::from_secs(60), protocol).await? }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user