Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

Event loop duplicate #299

Open
lsbardel opened this issue Dec 5, 2017 · 0 comments
Open

Event loop duplicate #299

lsbardel opened this issue Dec 5, 2017 · 0 comments

Comments

@lsbardel
Copy link
Member

lsbardel commented Dec 5, 2017

  • pulsar version: 2.0

Description

Setting the EventLoopPolicy can cause a dead lock if some async components already have initialised they loop (a use case in the lux was found where a data store had already its own event loop).
This is a critical bug which may lead to an important design decision to not allow long lasting components to hold a reference to the event loop.

Proposal

  • hold a reference to the event loop only if explicitly passed to it?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant