mirror of
https://github.com/actix/actix-web.git
synced 2025-01-30 10:58:08 +00:00
HttpServer::shutdown_timeout u16 to u64 (#849)
Increase maximum graceful shutdown time from 18 hours. For issue #848.
This commit is contained in:
parent
0dda4b06ea
commit
e857ab1f81
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ where
|
|||
/// dropped.
|
||||
///
|
||||
/// By default shutdown timeout sets to 30 seconds.
|
||||
pub fn shutdown_timeout(mut self, sec: u16) -> Self {
|
||||
pub fn shutdown_timeout(mut self, sec: u64) -> Self {
|
||||
self.builder = Some(self.builder.take().unwrap().shutdown_timeout(sec));
|
||||
self
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue