Quellcode durchsuchen

update and up timeout

Johann Woelper vor 4 Jahren
Ursprung
Commit
606373e5ca
3 geänderte Dateien mit 1408 neuen und 1069 gelöschten Zeilen
  1. 410 475
      Cargo.lock
  2. 996 592
      accounts.json
  3. 2 2
      src/query.rs

Datei-Diff unterdrückt, da er zu groß ist
+ 410 - 475
Cargo.lock


Datei-Diff unterdrückt, da er zu groß ist
+ 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();