def register_heartbeat(self, timeout):
        if self.heartbeat < now():
            self.save(timeout=timeout)
Register a heartbeat
dataset/ETHPy150Open bretth/django-pq/pq/worker.py/Worker.register_heartbeat