mirror of
				https://github.com/edera-dev/krata.git
				synced 2025-11-03 07:19:37 +00:00 
			
		
		
		
	fix: increase channel acquisition timeout to support lower performance hosts (#36)
This commit is contained in:
		@ -346,7 +346,7 @@ impl KrataChannelBackendProcessor {
 | 
				
			|||||||
                                .read_string(format!("{}/port", self.frontend))
 | 
					                                .read_string(format!("{}/port", self.frontend))
 | 
				
			||||||
                                .await?;
 | 
					                                .await?;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                            if (ring_ref.is_none() || port.is_none()) && tries < 10 {
 | 
					                            if (ring_ref.is_none() || port.is_none()) && tries < 40 {
 | 
				
			||||||
                                tries += 1;
 | 
					                                tries += 1;
 | 
				
			||||||
                                self.store
 | 
					                                self.store
 | 
				
			||||||
                                    .write_string(format!("{}/state", self.backend), "4")
 | 
					                                    .write_string(format!("{}/state", self.backend), "4")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user