Skip to content
Snippets Groups Projects
Commit e117eadd authored by jkerdreu's avatar jkerdreu
Browse files

Added delay on send, due to avoid congestion

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2810 b32b6428-25c9-4566-ad07-03861ab6144f
parent e9743067
Branches
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@ class AsyncEngine(core.EngineMixin):
while self.is_running():
temp = await self.__txFifo.get()
self.send_msg(temp)
await asyncio.sleep(0.001)
async def timer_task(self):
await self.running_event.wait()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment