remove test code
This commit is contained in:
parent
6e68d3d144
commit
d43ac821d9
|
|
@ -129,7 +129,6 @@ class RedisClient implements ReplicationInterface
|
||||||
*/
|
*/
|
||||||
public function subscribe(string $appId, string $channel): bool
|
public function subscribe(string $appId, string $channel): bool
|
||||||
{
|
{
|
||||||
$this->publishClient->__call('hset', ["$appId:$channel", 541561516, "qsgdqgsd"]);
|
|
||||||
if (! isset($this->subscribedChannels["$appId:$channel"])) {
|
if (! isset($this->subscribedChannels["$appId:$channel"])) {
|
||||||
// We're not subscribed to the channel yet, subscribe and set the count to 1
|
// We're not subscribed to the channel yet, subscribe and set the count to 1
|
||||||
$this->subscribeClient->__call('subscribe', ["$appId:$channel"]);
|
$this->subscribeClient->__call('subscribe', ["$appId:$channel"]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue