def set_hostinfo(self, host, attr, val):
        try:
            setattr(self.hosts[host], attr, val)
        except KeyError:
            self.hosts[host] = HostInfo('%s=%s' % (attr, str(val)))
        return True  # USE THIS AS DEFAULT XMLRPC RETURN VALUE
increase or decrease the maximum load allowed on a given host
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/ResourceController.set_hostinfo