Commit a320d43c by Ned Batchelder

Allow 15 threads instead of 5

parent 0b2dc694
...@@ -76,7 +76,7 @@ LIMITS = { ...@@ -76,7 +76,7 @@ LIMITS = {
# Size of files creatable, in bytes, defaulting to nothing can be written. # Size of files creatable, in bytes, defaulting to nothing can be written.
"FSIZE": 0, "FSIZE": 0,
# The number of processes and threads to allow. # The number of processes and threads to allow.
"NPROC": 5, "NPROC": 15,
# Whether to use a proxy process or not. None means use an environment # Whether to use a proxy process or not. None means use an environment
# variable to decide. NOTE: using a proxy process is NOT THREAD-SAFE, only # variable to decide. NOTE: using a proxy process is NOT THREAD-SAFE, only
# one thread can use CodeJail at a time if you are using a proxy process. # one thread can use CodeJail at a time if you are using a proxy process.
...@@ -107,7 +107,7 @@ def set_limit(limit_name, value): ...@@ -107,7 +107,7 @@ def set_limit(limit_name, value):
in bytes. The default is 0 (no files may be created). in bytes. The default is 0 (no files may be created).
* `"NPROC"`: the maximum number of process or threads creatable by the * `"NPROC"`: the maximum number of process or threads creatable by the
jailed code. The default is 5. jailed code. The default is 15.
* `"PROXY"`: 1 to use a proxy process, 0 to not use one. This isn't * `"PROXY"`: 1 to use a proxy process, 0 to not use one. This isn't
really a limit, sorry about that. really a limit, sorry about that.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment