Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make producer thread a deamon #282

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Make producer thread a deamon #282

merged 1 commit into from
Sep 18, 2023

Conversation

dbanda
Copy link
Contributor

@dbanda dbanda commented Aug 19, 2023

Sometimes a program may have to shut down before the strategies are created. This producer thread starts running as soon as the producer is instantiated even before it is added to a strategy. To simplify cleanup, make it a daemon thread so that it exists when the parent process exists and doesn't block exiting.

Sometimes a program may have to shut down before the strategies are created. This producer thread starts running as soon as the producer is instantiated even before it is added to a strategy.  To simplify cleanup, make it a daemon thread so that it exists when the parent process exists and doesn't block exiting.
@dbanda dbanda marked this pull request as ready for review September 18, 2023 18:50
@dbanda dbanda requested a review from a team as a code owner September 18, 2023 18:50
@dbanda dbanda merged commit e711afa into main Sep 18, 2023
@dbanda dbanda deleted the dbanda-patch-1 branch September 18, 2023 18:53
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