def GetResourceLimits(rpcserver, config):
 resource_limits = DEFAULT_RESOURCE_LIMITS.copy()
 resource_limits.update(GetRemoteResourceLimits(rpcserver, config))
 logging.debug('Using resource limits: %s', resource_limits)
 return resource_limits

def GetResourceLimits ( rpcserver , config ) : resource_limits = DEFAULT_RESOURCE_LIMITS . copy ( ) resource_limits . update ( GetRemoteResourceLimits ( rpcserver , config ) ) logging . debug ( 'Using resource limits: %s' , resource_limits ) return resource_limits
gets the resource limits .