Merge branch 'master' of git.mosad.xyz:localhorst/TextureSync

This commit is contained in:
Hendrik Schutter 2019-06-04 18:21:13 +02:00
commit 857f35e77e
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ where
// We ignore errors here, so they will be caught in the clients thread.
let _ = connection.as_mut().map(|stream| {
stream.set_read_timeout(Duration::from_secs(config.read_timeout_s).into())?;
stream.set_write_timeout(Duration::from_secs(config.read_timeout_s).into())
stream.set_write_timeout(Duration::from_secs(config.write_timeout_s).into())?;
});
let handler = handler.clone();