Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit e9ec650

Browse files
committed
Removed $redis from RedisClient
1 parent a45c0bf commit e9ec650

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/PubSub/Drivers/RedisClient.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
88
use Clue\React\Redis\Client;
99
use Clue\React\Redis\Factory;
10-
use Illuminate\Support\Facades\Cache;
1110
use Illuminate\Support\Str;
1211
use React\EventLoop\LoopInterface;
1312
use React\Promise\PromiseInterface;
@@ -43,13 +42,6 @@ class RedisClient extends LocalClient
4342
*/
4443
protected $subscribeClient;
4544

46-
/**
47-
* The Redis manager instance.
48-
*
49-
* @var \Illuminate\Redis\RedisManager
50-
*/
51-
protected $redis;
52-
5345
/**
5446
* Mapping of subscribed channels, where the key is the channel name,
5547
* and the value is the amount of connections which are subscribed to
@@ -68,7 +60,6 @@ class RedisClient extends LocalClient
6860
public function __construct()
6961
{
7062
$this->serverId = Str::uuid()->toString();
71-
$this->redis = Cache::getRedis();
7263
}
7364

7465
/**

0 commit comments

Comments
 (0)