Skip to content

Commit

Permalink
fix small detail, added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritdead committed May 20, 2017
1 parent d23e4e7 commit c3ee98d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Resque
php resque has been written in php 7 with the standards PSR-1 / PSR-2 / PSR-4

Redis backed library for creating background jobs and processing them later.
Based on resque for Ruby. Inspired by @chrisboulton.
2 changes: 1 addition & 1 deletion components/workers/base/ResqueWorkerBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public static function workerPids()
list(, $pids[],) = str_replace('"', '', explode(',', trim($line), 3));
}
} else {
exec('ps -A -o pid,command | grep [r]esque', $cmdOutput);
exec('ps -o pid,command | grep [r]esque', $cmdOutput);
foreach ($cmdOutput as $line) {
list($pids[],) = explode(' ', trim($line), 2);
}
Expand Down

0 comments on commit c3ee98d

Please sign in to comment.