Skip to content

Commit

Permalink
3.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored May 29, 2018
1 parent cbc6e46 commit 0bf5cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Worker
*
* @var string
*/
const VERSION = '3.5.8';
const VERSION = '3.5.9';

/**
* Status starting.
Expand Down Expand Up @@ -1195,7 +1195,7 @@ protected static function forkWorkersForWindows()
{
$files = static::getStartFilesForWindows();
global $argv;
if(isset($argv[1]) && $argv[1] === '-q')
if(in_array('-q', $argv) || count($files) === 1)
{
if(count(static::$_workers) > 1)
{
Expand Down

0 comments on commit 0bf5cf0

Please sign in to comment.