Skip to content

Setup Libby CLI logging & fix threading with rabbit - #22

Open
prkrtg wants to merge 3 commits into
mainfrom
pgupta/cli_log
Open

Setup Libby CLI logging & fix threading with rabbit#22
prkrtg wants to merge 3 commits into
mainfrom
pgupta/cli_log

Conversation

@prkrtg

@prkrtg prkrtg commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@prkrtg
prkrtg requested a review from mikelangmayr September 4, 2026 23:06

def start(self) -> None:
"""Start consuming messages from RabbitMQ."""
def start(self, ready_timeout_s: float = 5.0) -> None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Does ZmqTransport.start() have this same unbounded race, since it isn't touched here?

)
self._hb_thread.start()

self._ready.wait(timeout=ready_timeout_s)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If this times out, does start() just return as ready anyway?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, fixed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants