increase csma/ca time
This commit is contained in:
		@@ -102,7 +102,7 @@ pub async fn get_next(db: &Surreal<Client>, config: &Config) -> Option<Website>
 | 
			
		||||
            Ok(ok) => ok,
 | 
			
		||||
            Err(_err) => {
 | 
			
		||||
                // basically just CSMA/CA
 | 
			
		||||
                let delay = rand::random_range(10..500);
 | 
			
		||||
                let delay = rand::random_range(10..10_000);
 | 
			
		||||
                sleep(Duration::from_millis(delay)).await;
 | 
			
		||||
                fails += 1;
 | 
			
		||||
                // Don't get stuck here forever, failing...
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user