diff --git a/src/core/Process/Thread.php b/src/core/Process/Thread.php index 56a29420..3c70a04d 100644 --- a/src/core/Process/Thread.php +++ b/src/core/Process/Thread.php @@ -42,7 +42,7 @@ class Thread { * Initialize an empty process-thread state. */ public function __construct() { - $this->process = 0; + $this->process = null; $this->buffer = ''; $this->pipes = (array) null; $this->output = ''; diff --git a/src/domain/Stream/ConnectionTracker.php b/src/domain/Stream/ConnectionTracker.php index 3e46cb8a..2980e4b4 100644 --- a/src/domain/Stream/ConnectionTracker.php +++ b/src/domain/Stream/ConnectionTracker.php @@ -56,7 +56,7 @@ class ConnectionTracker { $rRedis = RedisManager::instance(); $rFile = ($rProxy ? 'proxy_capacity' : 'servers_capacity'); if ($rSettings['redis_handler'] && $rProxy && $rSettings['split_by'] == 'maxclients') { - $rSettings['split_by'] == 'guar_band'; + $rSettings['split_by'] = 'guar_band'; } if ($rSettings['redis_handler'] && $rRedis) {