add support for dockerized container hosting
This commit is contained in:
parent
30b187a96e
commit
4364310b24
5 changed files with 115 additions and 65 deletions
|
@ -44,7 +44,7 @@ pub async fn aggregate(
|
|||
|
||||
// Add a random delay before making the request.
|
||||
let mut rng = rand::thread_rng();
|
||||
let delay_secs = rng.gen_range(1, 10);
|
||||
let delay_secs = rng.gen_range(1..10);
|
||||
std::thread::sleep(Duration::from_secs(delay_secs));
|
||||
|
||||
// fetch results from upstream search engines simultaneously/concurrently.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue