Skip to content

Commit

Permalink
fix(server): set shutdown timeout to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaranski committed Jul 24, 2021
1 parent 4a7e6b8 commit c97855d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ async fn main() {
sessions.clone(),
)
})
});
})
.shutdown_timeout(5);
let address = (
config.hostname.to_string(),
houseflow_config::defaults::server_port(),
Expand Down

0 comments on commit c97855d

Please sign in to comment.