@@ -116,7 +116,7 @@ |
||
| 116 | 116 | $this->blTo = (int) $config['blTo']; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | - $this->redis = new \Redis(); |
|
| 119 | + $this->redis = new \Redis(); |
|
| 120 | 120 | $this->redis->connect($config['host'], $port); |
| 121 | 121 | |
| 122 | 122 | if (\array_key_exists('auth', $config)) { |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | } |
| 178 | 178 | } else { |
| 179 | 179 | |
| 180 | - if(!$this->wait($this->blTo)) { |
|
| 180 | + if (!$this->wait($this->blTo)) { |
|
| 181 | 181 | //throw new LockAcquireException('could not acquire lock'); |
| 182 | 182 | throw new \Exception('could not acquire lock'); |
| 183 | 183 | } |