1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +01:00

listen method has different signature

This commit is contained in:
Nikolay Kim 2019-03-08 22:47:49 -08:00
parent 6d639ae3df
commit e324522389

View File

@ -67,7 +67,7 @@ impl TestServer {
let local_addr = tcp.local_addr().unwrap();
Server::build()
.listen("test", tcp, factory)
.listen("test", tcp, factory)?
.workers(1)
.disable_signals()
.start();