-
Notifications
You must be signed in to change notification settings - Fork 2
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
add missing flag for module completion #18
Conversation
There was a problem hiding this 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
configstack/running_module.go
Outdated
go module.OutputPeriodicLogs(&completed) // Flush the output buffers periodically to confirm that the process is still alive | ||
module.runModuleWhenReady() | ||
completed = true |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you are right!
There was a problem hiding this 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.
configstack/running_module.go
Outdated
go module.OutputPeriodicLogs(&completed) // Flush the output buffers periodically to confirm that the process is still alive | ||
module.runModuleWhenReady() | ||
completed = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you are right!
No description provided.