def notify(self, message):
data = dict(<EOL>payload=self.payload,<EOL>attempt=self.attempt,<EOL>success=self.success,<EOL>response_message=self.response_content,<EOL>hash_value=self.hash_value,<EOL>response_status=self.response.status_code,<EOL>notification=message,<EOL>created=timezone.now()<EOL>)<EOL>value = json.dumps(data, cls=StandardJSONEncoder)<EOL>key = make_key(self.event, self.owner.username, self.identifier)<EOL>redis.lpush(key, value)<EOL>
TODO: Add code to lpush to redis stack
        rpop when stack hits size 'X'