Browse Source

update and up timeout

Johann Woelper 4 years ago
parent
commit
606373e5ca
3 changed files with 1408 additions and 1069 deletions
  1. 410 475
      Cargo.lock
  2. 996 592
      accounts.json
  3. 2 2
      src/query.rs

File diff suppressed because it is too large
+ 410 - 475
Cargo.lock


File diff suppressed because it is too large
+ 996 - 592
accounts.json


+ 2 - 2
src/query.rs

@@ -142,7 +142,7 @@ fn auction_details(auction: &Auction) -> Auction {
 
 
     let client = reqwest::Client::builder()
-        .timeout(Some(core::time::Duration::from_secs(2)))
+        .timeout(Some(core::time::Duration::from_secs(8)))
         .build()
         .unwrap();
 
@@ -201,7 +201,7 @@ fn auctions_from_url(url: &str) -> HashMap<String, Auction> {
     // dbg!(&url);
 
     let client = reqwest::Client::builder()
-        .timeout(Some(core::time::Duration::from_secs(2)))
+        .timeout(Some(core::time::Duration::from_secs(8)))
         .build()
         .unwrap();