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

add missing flag for module completion #18

Merged
merged 3 commits into from
Feb 12, 2018

Conversation

lpbedard
Copy link

No description provided.

@lpbedard lpbedard requested a review from jocgir February 12, 2018 15:19
Copy link

@jocgir jocgir left a comment

Choose a reason for hiding this comment

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

It is always preferable to do that kind of action in a defer method. I will push the change I made to this branch. I made changes to limit the number of concurrent workers.

- Add the worker number to the traces to help identify the running thread
jocgir
jocgir previously approved these changes Feb 12, 2018
go module.OutputPeriodicLogs(&completed) // Flush the output buffers periodically to confirm that the process is still alive
module.runModuleWhenReady()
completed = true
Copy link
Author

Choose a reason for hiding this comment

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

Do we still need this line if it is now in the defer func?

Copy link

Choose a reason for hiding this comment

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

No, you are right!

Copy link
Author

@lpbedard lpbedard left a comment

Choose a reason for hiding this comment

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

@jocgir, I approve your changes, but I cannot approve the PR as I did a change.

go module.OutputPeriodicLogs(&completed) // Flush the output buffers periodically to confirm that the process is still alive
module.runModuleWhenReady()
completed = true
Copy link

Choose a reason for hiding this comment

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

No, you are right!

@jocgir jocgir merged commit 8eb3b0e into master Feb 12, 2018
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