This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
use React \Promise \PromiseInterface ;
9
9
use BeyondCode \LaravelWebSockets \PubSub \ReplicationInterface ;
10
10
11
- class EmptyClient implements ReplicationInterface
11
+ class LocalClient implements ReplicationInterface
12
12
{
13
13
/**
14
14
* Boot the pub/sub provider (open connections, initial subscriptions, etc).
Original file line number Diff line number Diff line change 10
10
use Illuminate \Broadcasting \BroadcastManager ;
11
11
use BeyondCode \LaravelWebSockets \Server \Router ;
12
12
use BeyondCode \LaravelWebSockets \Apps \AppProvider ;
13
- use BeyondCode \LaravelWebSockets \PubSub \Drivers \EmptyClient ;
13
+ use BeyondCode \LaravelWebSockets \PubSub \Drivers \LocalClient ;
14
14
use BeyondCode \LaravelWebSockets \PubSub \Drivers \RedisClient ;
15
15
use BeyondCode \LaravelWebSockets \PubSub \ReplicationInterface ;
16
16
use BeyondCode \LaravelWebSockets \WebSockets \Channels \ChannelManager ;
@@ -56,7 +56,7 @@ protected function configurePubSub()
56
56
{
57
57
if (config ('websockets.replication.enabled ' ) !== true || config ('websockets.replication.driver ' ) !== 'redis ' ) {
58
58
$ this ->app ->singleton (ReplicationInterface::class, function () {
59
- return new EmptyClient ();
59
+ return new LocalClient ();
60
60
});
61
61
62
62
return ;
You can’t perform that action at this time.
0 commit comments