added learnconsumerlist to init phase of app.py
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Scharnitzky Donát 2020-03-31 22:58:59 +02:00
parent bfbbb3f089
commit a784cad088

1
app.py
View File

@ -32,6 +32,7 @@ if __name__ == "__main__":
LOGGER.debug(f"My uuid is {generateduuid}")
consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
messagesender = MessageSender(communicator=communicator)
consumerlocator.learnconsumerlist()
while True:
LOGGER.info(f"Updating consumer list of {generateduuid}")