aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-03-11 19:56:48 -0500
committerGravatar Ionite <[email protected]>2023-03-11 19:56:48 -0500
commit99d6b969587be7d276c1aa980d9304474e9d1494 (patch)
tree46b5007773cc5ace337c21d31d03b2e1bd82f158
parentAdd `timeout` to `MemFS.files` and `MemFS.files_list` for more cooperative ca... (diff)
Provide files_timeout to `MemFS.files_list` call
-rw-r--r--snekbox/nsjail.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py
index 6f6a155..8bbcf22 100644
--- a/snekbox/nsjail.py
+++ b/snekbox/nsjail.py
@@ -273,6 +273,7 @@ class NsJail:
{
"preload_dict": True,
"exclude_files": files_written,
+ "timeout": self.files_timeout,
},
timeout=self.files_timeout,
)