Skip to content

Conversation

@ffaraone
Copy link
Contributor

No description provided.

@ffaraone ffaraone force-pushed the MPT-15021_restart_failed_child_processes branch from 89ad352 to 1c04f64 Compare October 31, 2025 12:46
@sonarqubecloud
Copy link

for worker_id, process in self.worker_processes.items():
if not process.is_alive():
logger.warning(f"Worker {worker_id} [{process.pid}] died unexpectedly")
process.stop(sigint_timeout=1, sigkill_timeout=1)

Choose a reason for hiding this comment

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

Perhaps it's better to wrap this in try-except as well the except bellow will stop the iteration?

@ffaraone ffaraone merged commit 389afaf into main Oct 31, 2025
9 checks passed
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.

5 participants