1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-07 19:23:58 +02:00

Compare commits

..

3 Commits

Author SHA1 Message Date
dea0e0a721 update actix-server dep 2019-05-18 11:00:33 -07:00
e857ab1f81 HttpServer::shutdown_timeout u16 to u64 (#849)
Increase maximum graceful shutdown time from 18 hours.

For issue #848.
2019-05-18 10:50:35 -07:00
0dda4b06ea prepare release 2019-05-18 10:49:59 -07:00
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Changes
## [1.0.0-rc] - 2019-05-xx
## [1.0.0-rc] - 2019-05-18
### Add

View File

@ -72,9 +72,9 @@ actix-service = "0.4.0"
actix-utils = "0.4.1"
actix-router = "0.1.5"
actix-rt = "0.2.2"
actix-web-codegen = "0.1.0-beta.1"
actix-web-codegen = "0.1.0"
actix-http = "0.2.0"
actix-server = "0.5.0"
actix-server = "0.5.1"
actix-server-config = "0.1.1"
actix-threadpool = "0.1.0"
awc = { version = "0.2.0", optional = true }

View File

@ -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
}