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

feat: use process groups for swarms #553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swarnimarun
Copy link
Contributor

handle swarm processes as a child process group to ensure the exit happens consistently using group kill command

handle swarm processes as a child process group to ensure the exit happens consistently using group kill command
Copy link
Contributor

@Janaka-Steph Janaka-Steph left a comment

Choose a reason for hiding this comment

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

Is this PR trying to solve an existing issue or is it an optimization? For me the processes are already stopping properly on main branch.
Also the app crashes when starting the swarm.

🐍 Creating the environment...
src/controller_binaries.rs:253 2023-11-16T09:44:22 [INFO] - Stopping all services
thread panicked while processing panic. aborting.

@swarnimarun
Copy link
Contributor Author

It was meant for #511 will take a look, maybe I left a bug that caused a crash. Will take a look

@Janaka-Steph
Copy link
Contributor

Janaka-Steph commented Nov 16, 2023

Ha ok, I thought it was the swarm from Settings. The crash happens when clicking Start from Settings

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.

None yet

2 participants