use a threadpool for fetch

This commit is contained in:
Gregory Terzian 2019-01-27 20:20:32 +08:00
parent 1e4b42a90b
commit c52cfda957
6 changed files with 73 additions and 35 deletions

1
Cargo.lock generated
View file

@ -2791,6 +2791,7 @@ dependencies = [
"openssl 0.10.11 (registry+https://github.com/rust-lang/crates.io-index)",
"pixels 0.0.1",
"profile_traits 0.0.1",
"rayon 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)",
"servo_allocator 0.0.1",