Handle constraints in heartbeat