@@ -192,9 +192,9 @@ public function work($interval = Resque::DEFAULT_INTERVAL, $blocking = false)
192
192
if (!$ this ->paused ) {
193
193
if ($ blocking === true ) {
194
194
$ this ->logger ->log (Psr \Log \LogLevel::INFO , 'Starting blocking with timeout of {interval} ' , array ('interval ' => $ interval ));
195
- $ this ->updateProcLine ('Waiting for ' . implode ( ' , ' , $ this -> queues ) . ' with blocking timeout ' . $ interval );
195
+ $ this ->updateProcLine ('Waiting with blocking timeout ' . $ interval );
196
196
} else {
197
- $ this ->updateProcLine ('Waiting for ' . implode ( ' , ' , $ this -> queues ) . ' with interval ' . $ interval );
197
+ $ this ->updateProcLine ('Waiting with interval ' . $ interval );
198
198
}
199
199
200
200
$ job = $ this ->reserve ($ blocking , $ interval );
@@ -214,7 +214,7 @@ public function work($interval = Resque::DEFAULT_INTERVAL, $blocking = false)
214
214
$ this ->updateProcLine ('Paused ' );
215
215
}
216
216
else {
217
- $ this ->updateProcLine ('Waiting for ' . implode ( ' , ' , $ this -> queues ) );
217
+ $ this ->updateProcLine ('Waiting ' );
218
218
}
219
219
220
220
usleep ($ interval * 1000000 );
@@ -390,7 +390,7 @@ private function startup()
390
390
*/
391
391
private function updateProcLine ($ status )
392
392
{
393
- $ processTitle = static ::$ processPrefix . '- ' . Resque::VERSION . ': ' . $ status ;
393
+ $ processTitle = static ::$ processPrefix . '- ' . Resque::VERSION . ' ( ' . implode ( ' , ' , $ this -> queues ) . ' ) : ' . $ status ;
394
394
if (function_exists ('cli_set_process_title ' ) && PHP_OS !== 'Darwin ' ) {
395
395
cli_set_process_title ($ processTitle );
396
396
}
0 commit comments