added learnconsumerlist to init phase of app.py
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										1
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								app.py
									
									
									
									
									
								
							@@ -32,6 +32,7 @@ if __name__ == "__main__":
 | 
				
			|||||||
    LOGGER.debug(f"My uuid is {generateduuid}")
 | 
					    LOGGER.debug(f"My uuid is {generateduuid}")
 | 
				
			||||||
    consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
 | 
					    consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
 | 
				
			||||||
    messagesender = MessageSender(communicator=communicator)
 | 
					    messagesender = MessageSender(communicator=communicator)
 | 
				
			||||||
 | 
					    consumerlocator.learnconsumerlist()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    while True:
 | 
					    while True:
 | 
				
			||||||
        LOGGER.info(f"Updating consumer list of {generateduuid}")
 | 
					        LOGGER.info(f"Updating consumer list of {generateduuid}")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user