public function publish($channel, $message) {
        try {
            return $this->getRedis()->publish($channel, $message);
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }