Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix aml stop environment logic #4199

Merged
merged 50 commits into from
Sep 24, 2021
Merged

Fix aml stop environment logic #4199

merged 50 commits into from
Sep 24, 2021

Conversation

SparkSnail
Copy link
Contributor

No description provided.

@SparkSnail SparkSnail marked this pull request as draft September 18, 2021 09:18
@SparkSnail SparkSnail marked this pull request as ready for review September 18, 2021 12:29
@SparkSnail SparkSnail changed the title Fix aml stop environment Fix aml stop environment logic Sep 18, 2021
exit(0)
loop_count += 1
time.sleep(500)
print('stop_result:success')
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need exit(0) in this place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, generally it will exit automatically when main process stop, add exit here to avoid corner case.

@SparkSnail SparkSnail closed this Sep 24, 2021
@SparkSnail SparkSnail reopened this Sep 24, 2021
@SparkSnail SparkSnail merged commit f1bfdd8 into master Sep 24, 2021
@liuzhe-lz liuzhe-lz deleted the dev-pipeline branch October 14, 2021 01:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants