Skip to content

Commit

Permalink
getter for processType #2
Browse files Browse the repository at this point in the history
  • Loading branch information
baohx2000 committed Dec 27, 2015
1 parent 660888e commit cd79be7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Qless/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@ protected function updateProcLine($status) {
$processTitle = 'qless-' . Qless::VERSION . ': ' . $status;
cli_set_process_title($processTitle);
}

protected function getProcessType()
{
return $this->processType;
}
}

function pcntl_sig_name($sig_no) {
Expand Down

0 comments on commit cd79be7

Please sign in to comment.