mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #19437 - servo:SimonSapin-patch-1, r=jdm
Remove 5 second pause in `./mach test-unit` Details of why this pause happens in the first place are at https://github.com/servo/servo/issues/19439. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19437) <!-- Reviewable:end -->
This commit is contained in:
commit
ba0240a388
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ fn fetch_with_cors_cache(request: &mut Request, cache: &mut CorsCache) -> Respon
|
|||
|
||||
fn make_server<H: Handler + 'static>(handler: H) -> (Listening, ServoUrl) {
|
||||
// this is a Listening server because of handle_threads()
|
||||
let server = Server::http("0.0.0.0:0").unwrap().handle_threads(handler, 1).unwrap();
|
||||
let server = Server::http("0.0.0.0:0").unwrap().handle_threads(handler, 2).unwrap();
|
||||
let url_string = format!("http://localhost:{}", server.socket.port());
|
||||
let url = ServoUrl::parse(&url_string).unwrap();
|
||||
(server, url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue