add resourceLoadThreshold to invocation