소스 검색

update and up timeout

Johann Woelper 4 년 전
부모
커밋
606373e5ca
3개의 변경된 파일1408개의 추가작업 그리고 1069개의 파일을 삭제
  1. 410 475
      Cargo.lock
  2. 996 592
      accounts.json
  3. 2 2
      src/query.rs

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 410 - 475
Cargo.lock


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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();