Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
feature: Increase number of threads to 20
Browse files Browse the repository at this point in the history
To overcome this bug: hyperium/hyper#368
  • Loading branch information
juanibiapina committed Aug 27, 2015
1 parent e889de6 commit 1f6f22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Server {
let app_manager = AppManager::new();
let dispatcher = Dispatcher::new(app_manager);

server::Server::http("127.0.0.1:12044").unwrap().handle(dispatcher).unwrap();
server::Server::http("127.0.0.1:12044").unwrap().handle_threads(dispatcher, 20).unwrap();
})
}
}
Expand Down

0 comments on commit 1f6f22a

Please sign in to comment.