Skip to content

Commit

Permalink
fix default timeout for default unix domain
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Feb 2, 2020
1 parent 7257cf1 commit 6fb4d61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ impl UnixDomain {
}

pub fn default_unix_domains() -> Vec<Self> {
vec![UnixDomain::default()]
vec![UnixDomain {
read_timeout: default_read_timeout(),
write_timeout: default_read_timeout(),
..Default::default()
}]
}

pub fn serve_command(&self) -> anyhow::Result<Vec<OsString>> {
Expand Down

0 comments on commit 6fb4d61

Please sign in to comment.