Adjust the timing for fetching pages.

quickdudley
Jan 21, 2022, 2:41 AM
OCMZKNSSMIFMY5GY5TRK2TXKGLX2UCGEJUX4435WQYJDWX6X2LWQC

Dependencies

  • [2] AOO3FCSG Cargo clippy, tweaks, etc
  • [3] C376NCOV Prevent flooding the website (still need to better mimic browser requests)
  • [4] 5Y7ZXB53 Start picker UI
  • [5] PQ4BG3ZJ The web scrape functions
  • [6] LPVC545K Get the scraper part of this program working
  • [7] QEKHTVB7 Get most things semi-working except the final sort

Change contents

  • replacement in src/pick.rs at line 22
    [3.322][2.33:114]()
    let (ntx, mut nrx) = mpsc::channel(count as usize / 2 + count as usize % 2);
    [3.322]
    [3.367]
    let (ntx, mut nrx) = mpsc::channel((count + count / 2) as usize);
  • replacement in src/gather.rs at line 23
    [2.1795][3.559:611](),[3.559][3.559:611]()
    let (tx, rx) = tokio::sync::mpsc::channel(256);
    [2.1795]
    [3.0]
    let (tx, rx) = tokio::sync::mpsc::channel(1);