refactor: remove constants and put in config file #24

Merged
8464960 merged 14 commits from refactor/config-file into dev 2025-11-19 16:31:52 +00:00
Showing only changes of commit d60df2174c - Show all commits

View File

@@ -56,7 +56,7 @@ class RICommunicationAgent(BaseAgent):
# See what endpoint we received # See what endpoint we received
match message["endpoint"]: match message["endpoint"]:
case "ping": case "ping":
await asyncio.sleep(settings.agent_settings.behaviour_settings.ping_sleep_s) await asyncio.sleep(settings.behaviour_settings.ping_sleep_s)
case _: case _:
self.agent.logger.info( self.agent.logger.info(
"Received message with topic different than ping, while ping expected." "Received message with topic different than ping, while ping expected."