Commit d8c66903 by serfrape

Set BDIBehaviour receive timeout to 0

parent 23e672a9
......@@ -179,7 +179,7 @@ class BDIAgent(Agent):
Coroutine run cyclic.
"""
if self.agent.bdi_enabled:
msg = await self.receive(timeout=0.1)
msg = await self.receive(timeout=0)
if msg:
received = json.loads(msg.body)
mdata = msg.metadata
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment