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

made timer thread a daemon thread #112

Merged
merged 2 commits into from
Jul 16, 2021
Merged

Conversation

jacobrobertbaca
Copy link
Contributor

Description of change

https://jira.talendforge.org/browse/TDL-9784
so the reason these processes were hanging for 24 hours is because in some rare cases the main thread would exit but a new timer thread would begin which would never be canceled and keep spawning a new thread for the rest of the 24 hours.
This pr makes the timer thread a daemon thread, which ensures that when the main thread exits the process will exit.

QA steps

  • automated tests passing
  • manual qa steps passing (list below)

Risks

  • low

Rollback steps

  • revert this branch

@jacobrobertbaca jacobrobertbaca merged commit de80a62 into master Jul 16, 2021
@jacobrobertbaca jacobrobertbaca deleted the make_timer_daemon_thread branch July 16, 2021 17:37
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