xdmp.setRequestLimit( meter-name as String, limit as (Number|String), [hostID as (Number|String)?], [serverID as (Number|String)?], [requestID as (Number|String)?] ) as null
Changes the meter limit (elapsed-time/lock-count/read-size) for an actively running request to the specified value. If you do not supply values for the last three parameters, the function sets the meter limit for the current request.
http://marklogic.com/xdmp/privileges/xdmp-set-request-limit-any
or
http://marklogic.com/xdmp/privileges/xdmp-set-request-limit-my
xdmp.setRequestLimit("lockCount",100);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.