1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-21 17:33:59 +00: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();