We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I compare the code between resque and resque-scheduler ,find thair differrency,
resque scheduler private function updateProcLine($status) { $processTitle = 'resque-scheduler-' . ResqueScheduler::VERSION . ': ' . $status; if(function_exists('setproctitle')) { setproctitle($processTitle); }
echo "setproctitle = " . function_exists('setproctitle') ? "true" : "false" . PHP_EOL; }
resque worker private function updateProcLine($status) { $processTitle = static::$processPrefix . '-' . Resque::VERSION . ' (' . implode(',', $this->queues) . '): ' . $status; if(function_exists('cli_set_process_title') && PHP_OS !== 'Darwin') { cli_set_process_title($processTitle); } else if(function_exists('setproctitle')) { setproctitle($processTitle); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I compare the code between resque and resque-scheduler ,find thair differrency,
resque scheduler
private function updateProcLine($status)
{
$processTitle = 'resque-scheduler-' . ResqueScheduler::VERSION . ': ' . $status;
if(function_exists('setproctitle')) {
setproctitle($processTitle);
}
resque worker
private function updateProcLine($status)
{
$processTitle = static::$processPrefix . '-' . Resque::VERSION . ' (' . implode(',', $this->queues) . '): ' . $status;
if(function_exists('cli_set_process_title') && PHP_OS !== 'Darwin') {
cli_set_process_title($processTitle);
}
else if(function_exists('setproctitle')) {
setproctitle($processTitle);
}
}
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Context
My Environment
The text was updated successfully, but these errors were encountered: