Add integration test for dropping host connections while sharing
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
a3e9a3afbf
commit
62b4eb5efc
2 changed files with 102 additions and 1 deletions
|
@ -96,7 +96,7 @@ pub struct ConnectionState {
|
|||
|
||||
const KEEPALIVE_INTERVAL: Duration = Duration::from_secs(1);
|
||||
const WRITE_TIMEOUT: Duration = Duration::from_secs(2);
|
||||
const RECEIVE_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
pub const RECEIVE_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
|
||||
impl Peer {
|
||||
pub fn new() -> Arc<Self> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue