def add(self, event, pk, ts=None, ttl=None):
        key = self._keygen(event, ts)
        try:
            self._zadd(key, pk, ts, ttl)
            return True
        except redis.ConnectionError as e:
            self.logger.error(
                "redis event store failed with connection error %r" % e)
            return False