setMaxJobParallelism

Syntax

setMaxJobParallelism(userId, maxParallelism)

Arguments

userId is a string indicating a user name.

maxParallelism is an integer between 1 and 64.

Details

Specify the maximum number of subjobs that can be concurrently executed for the jobs submitted by the user. It must be executed by a logged-in user.

If the function is not executed, the default value of maxParallelism is 64 for an administrator and 2 for a non-admin user.

Examples

login(`admin,`123456)
createUser(`ElonMusk, `superman)
setMaxJobParallelism(`ElonMusk, 64);