ProcessManager
class ProcessManager extends ProcessManager (View source)
Class ProcessManager
customise shell command to allow child tasks to persist even after manager process is terminated this lets the started jobs to finish properly in case the management process terminates fore example there are no more jobs to start or queue is paused
Traits
Provides extensions to this object to integrate it with standard config API methods.
Config options
| persistent_child_process | bool | Enable / disable persistent child process If this is enabled the child processes can outlive the parent (manager process) This is what is needed for most cases as the manager process only starts new child processes Child processes on the other hand, actually execute queued jobs so they may take longer to execute Disabling this may cause the child processes to terminate prematurely which may result it multiple job execution retries / resumes Disable this option only if you are debugging a situation when a child process keeps hanging around for way too long (hours) Adding execution timeout to individual queued jobs is recommended to avoid such situation  | 
                
Properties
Methods
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
No description
Details
        
                static            Config_ForClass
    config()
        
    
    Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
        
                            mixed
    uninherited(string $name)
        
    
    Gets the uninherited value for the given config option
        
                    protected        string
    getCommand(string $binary, string $worker, string $stdout, string $stderr)
        
    
    No description
        
                            
    __destruct()
        
    
    No description