Skip to content

Commit

Permalink
Traffic messages should be ignored by agents.
Browse files Browse the repository at this point in the history
  • Loading branch information
malinradtke committed Sep 19, 2024
1 parent 46d7b83 commit 3bb76f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ async def step_mango_containers(self, received_messages: list):
received_messages_for_container = [str.encode(get_dict_from_protobuf_message(message)['content'])
for message in received_messages
if type(message) == InfoMessage
and 'Traffic' not in message.msg_id
and message.receiver == container_name]
output = await container.step(simulation_time=self._current_time,
incoming_messages=received_messages_for_container)
Expand Down

0 comments on commit 3bb76f4

Please sign in to comment.