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>
remodel-tor
bors[bot] 3 years ago committed by GitHub
commit 7c18ae23a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save