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:
bors[bot] 2021-05-04 23:11:04 +00:00 committed by GitHub
commit 7c18ae23a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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? }
})
}
}