chore: 🤖 cleanup

This commit is contained in:
Stepan Kuzmin 2019-03-12 12:07:43 +03:00
parent afb0ee532c
commit 9a1a1555de
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#[cfg_attr(feature = "cargo-clippy", allow(clippy))]
extern crate actix;
extern crate actix_web;
extern crate docopt;

View File

@ -24,7 +24,8 @@ pub fn new(config: Config, pool: PostgresPool) -> SystemRunner {
config.table_sources.clone(),
config.function_sources.clone(),
)
}).bind(listen_addresses.clone())
})
.bind(listen_addresses.clone())
.expect(&format!("Can't bind to {}", listen_addresses))
.keep_alive(keep_alive)
.shutdown_timeout(0)