Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Conversation

@rranjan3
Copy link
Contributor

Replace nested run_until_complete() with create_task() in Ethereum
connector. The evet loop once started cannot be started again from
within a coroutine.

Signed-off-by: Rajeev Ranjan rajeev2.ranjan@intel.com

Replace nested run_until_complete() with create_task() in Ethereum
connector. The evet loop once started cannot be started again from
within a coroutine.

Signed-off-by: Rajeev Ranjan <rajeev2.ranjan@intel.com>
try:
daemon = EventProcessor(self._config)
asyncio.get_event_loop().run_until_complete(daemon.start(
asyncio.get_event_loop().create_task(daemon.start(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think similar fix required for fabric as well?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants