File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
src/client/name_resolution Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ futures-core = "0.3.31"
1313serde_json  = " 1.0.140" 
1414serde  = " 1.0.219" 
1515hickory-resolver  = { version  = " 0.25.1" optional  = true  }
16- rand  = " 0.8.5 " 
16+ rand  = " 0.9 " 
1717parking_lot  = " 0.12.4" 
1818bytes  = " 1.10.1" 
1919
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ impl ExponentialBackoff {
100100    pub  fn  backoff_duration ( & mut  self )  -> Duration  { 
101101        let  next_delay = self . next_delay_secs ; 
102102        let  cur_delay =
103-             next_delay *  ( 1.0  + self . config . jitter  *  rand:: thread_rng ( ) . gen_range ( -1.0 ..1.0 ) ) ; 
103+             next_delay *  ( 1.0  + self . config . jitter  *  rand:: rng ( ) . random_range ( -1.0 ..1.0 ) ) ; 
104104        self . next_delay_secs  = self 
105105            . config 
106106            . max_delay 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments