def connect_redis(self):
    try:
        self.RedisConnection = redis.StrictRedis(host=REDIS_HOST)
        self.RedisConnection.ping()
    except Exception as e:
        self.Logger.exception(e)
def connect_redis(self):
    try:
        self.RedisConnection = redis.StrictRedis(host=REDIS_HOST)
        self.RedisConnection.ping()
    except Exception as e:
        self.Logger.exception(e)