瀏覽代碼

update and up timeout

Johann Woelper 5 年之前
父節點
當前提交
606373e5ca
共有 3 個文件被更改,包括 1408 次插入1069 次删除
  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();