Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:server-max-threads

xdmp:server-max-threads(
   $id as xs:unsignedLong
) as xs:unsignedInt?

Summary

Return the maximum number of server threads allowed on each host in the group of the App Server, XDBC Server, ODBC Server, or Task Server with the given ID.

Parameters
id An App Server, XDBC Server, ODBC Server, or Task Server ID.

Example

xdmp:server-max-threads(xdmp:server("myAppServer", xdmp:group("Default")));
=> 32

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.