remove test code

This commit is contained in:
anthony 2019-07-28 21:28:35 +02:00 committed by Francis Lavoie
parent 6e68d3d144
commit d43ac821d9
No known key found for this signature in database
GPG Key ID: B9E0E04A76AF4692
1 changed files with 0 additions and 1 deletions

View File

@ -129,7 +129,6 @@ class RedisClient implements ReplicationInterface
*/
public function subscribe(string $appId, string $channel): bool
{
$this->publishClient->__call('hset', ["$appId:$channel", 541561516, "qsgdqgsd"]);
if (! isset($this->subscribedChannels["$appId:$channel"])) {
// We're not subscribed to the channel yet, subscribe and set the count to 1
$this->subscribeClient->__call('subscribe', ["$appId:$channel"]);