When using multiple server to run workers, the CakeResqueShell understands that the name pattern contains the hostname but does not respect it when sending signals to the PIDs.
This will lead to wrong processes receiving the kill signal. This PR prevents this by simply ignoring those workers.
Note
Although I created this PR in 2015, I updated it recently because I missed that it was against the master branch, which is already switched to CakePHP3 but I need this change for CakePHP2!
Summary
When using multiple server to run workers, the
CakeResqueShell
understands that the name pattern contains the hostname but does not respect it when sending signals to the PIDs.This will lead to wrong processes receiving the kill signal. This PR prevents this by simply ignoring those workers.
Note
Although I created this PR in 2015, I updated it recently because I missed that it was against the master branch, which is already switched to CakePHP3 but I need this change for CakePHP2!
Links