Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: enhance process management and error handling
Major improvements across worker system: - Processes.php: * Add robust process termination with timeout * Improve process state monitoring * Add process safety checks * Clean up command execution methods * Add validation for process actions * Add error handling for system commands - WorkerSafeScriptsCore.php: * Implement batch processing for worker operations * Add timeout control for worker operations * Improve logging and monitoring * Add safety checks for concurrent operations * Add process locking mechanism - WorkerBase.php: * Add worker state management * Improve signal handling * Add resource limits control * Enhance logging system * Add proper cleanup on shutdown - WorkerModelsEvents.php: * Add action timeout control * Add concurrency protection * Improve error handling * Optimize reload operations * Add better job processing
- Loading branch information