neon_arch commited on
Commit
27247ba
·
1 Parent(s): c223fed

✨ feat: define common behaviour for all engines

Browse files
Files changed (1) hide show
  1. src/engines/engine_models.rs +1 -1
src/engines/engine_models.rs CHANGED
@@ -53,7 +53,7 @@ pub trait SearchEngine {
53
  // fetch the html from upstream search engine
54
  Ok(reqwest::Client::new()
55
  .get(url)
56
- .timeout(Duration::from_secs(5))
57
  .headers(header_map) // add spoofed headers to emulate human behaviour
58
  .send()
59
  .await
 
53
  // fetch the html from upstream search engine
54
  Ok(reqwest::Client::new()
55
  .get(url)
56
+ .timeout(Duration::from_secs(30))
57
  .headers(header_map) // add spoofed headers to emulate human behaviour
58
  .send()
59
  .await