aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-03-11 19:54:17 -0500
committerGravatar Ionite <[email protected]>2023-03-11 19:54:17 -0500
commit3ea786fe9ae42e35f52a6d31a392f4966f62f1c2 (patch)
treea08bb57ee3191602ff5a8393d7dbc2a074dbd774
parentEnsure mp Pool is not reused to avoid broken pipes from shutdown (diff)
Reduce file parse timeout from 8 to 5 seconds
-rw-r--r--snekbox/nsjail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py
index f014850..76154ae 100644
--- a/snekbox/nsjail.py
+++ b/snekbox/nsjail.py
@@ -56,7 +56,7 @@ class NsJail:
memfs_home: str = "home",
memfs_output: str = "home",
files_limit: int | None = 100,
- files_timeout: float | None = 8,
+ files_timeout: float | None = 5,
files_pattern: str = "**/[!_]*",
):
"""