add support for dockerized container hosting

This commit is contained in:
neon_arch 2023-05-09 18:53:12 +03:00
parent 30b187a96e
commit 4364310b24
5 changed files with 115 additions and 65 deletions

View file

@ -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.