Skip to content

Conversation

@evgeniiz321
Copy link
Contributor

No description provided.

node_to_stop.kill()
else:
node_to_stop.stop()
node_to_stop.stop(force=False)
Copy link
Member

Choose a reason for hiding this comment

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

But if it fails, we're stuck here, right? Maybe it's better to pass/check some return code when node is killed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, if it fails - we will get a TimeoutError after 60 seconds

Copy link
Contributor Author

Choose a reason for hiding this comment

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

flag is about what to do when we get this TimeoutError - with force - we use kill, without force - we raise an error

@evgeniiz321 evgeniiz321 marked this pull request as draft November 5, 2024 14:05
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.

3 participants