aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2022-06-07 10:26:29 -0700
committerGravatar Mark <[email protected]>2022-06-07 14:23:09 -0700
commitc9bfff85556b1023bc4e02d14cfe6dabb1fd473d (patch)
tree11e0e4fb2f484865f00d09e30b0f446f3f20154f /README.md
parentUse new NsJail instance for each test in NsJailArgsTests (diff)
Mention output limit can be customised and fix link in README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index ca1aa5d..7540e21 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ Snekbox -->>- Client: JSON response
The code is executed in a Python process that is launched through [NsJail], which is responsible for sandboxing the Python process.
-The output returned by snekbox is truncated at around 1 MB.
+The output returned by snekbox is truncated at around 1 MB by default, but this can be [configured](#gunicorn).
## HTTP REST API
@@ -68,7 +68,7 @@ NsJail is configured through [`snekbox.cfg`]. It contains the exact values for t
[Gunicorn settings] can be found in [`gunicorn.conf.py`]. In the default configuration, the worker count, the bind address, and the WSGI app URI are likely the only things of any interest. Since it uses the default synchronous workers, the [worker count] effectively determines how many concurrent code evaluations can be performed.
-`wsgi_app` can be given arguments which are forwarded to the `NsJail` object. For example, `wsgi_app = "snekbox:SnekAPI(max_output_size=2_000_000, read_chunk_size=20_000)"`.
+`wsgi_app` can be given arguments which are forwarded to the [`NsJail`] object. For example, `wsgi_app = "snekbox:SnekAPI(max_output_size=2_000_000, read_chunk_size=20_000)"`.
### Environment Variables