Increase timeout sending/receiving protocol messages.

This commit is contained in:
Philipp Hoenisch 2021-05-04 14:54:43 +10:00
parent 3b96aa4a1f
commit 1db7586632
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666

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