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

Close worker if jobchan is closed #24

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

DNK90
Copy link
Contributor

@DNK90 DNK90 commented Nov 23, 2022

  • Close worker if jobchan is closed
  • Also prevent nil pointer if sign method is not defined

@DNK90 DNK90 requested a review from minh-bq November 23, 2022 11:11
@minh-bq
Copy link
Contributor

minh-bq commented Nov 24, 2022

In current implementation, controller, pool and worker share the same context. When controller and pool is cancelled, worker is cancelled too, so what is the difference in this PR?

@DNK90 DNK90 force-pushed the chore/close_worker_when_jobchan_isClosed branch from d665215 to e74e4a4 Compare November 24, 2022 10:07
@DNK90 DNK90 merged commit 02bbd97 into master Nov 24, 2022
@minh-bq minh-bq deleted the chore/close_worker_when_jobchan_isClosed branch November 30, 2022 06:36
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