Querying local reps wasn't throttled properly (#4860)
This commit is contained in:
		
					parent
					
						
							
								50a7e30867
							
						
					
				
			
			
				commit
				
					
						8eefd013d7
					
				
			
		
					 1 changed files with 1 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -209,13 +209,7 @@ void nano::rep_crawler::run ()
 | 
			
		|||
 | 
			
		||||
			lock.unlock ();
 | 
			
		||||
			query (targets);
 | 
			
		||||
			lock.lock ();
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// Query local representative
 | 
			
		||||
		{
 | 
			
		||||
			lock.unlock ();
 | 
			
		||||
			query (node.loopback_channel);
 | 
			
		||||
			query (node.loopback_channel); // Query local representative
 | 
			
		||||
			lock.lock ();
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue