You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means unlimited and is already supported by code and mentioned in
the docs, but was disallowed by the regular expression.
While doing so, also move it from 'Judging' to 'Display' options.
Copy file name to clipboardExpand all lines: etc/db-config.yaml
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -111,16 +111,9 @@
111
111
type: int
112
112
default_value: 50000
113
113
public: false
114
-
description: Maximum size of error/system output stored in the database (in bytes); use `-1` to disable any limits.
115
-
regex: /^[1-9]\d*$/
116
-
error_message: A positive number is required.
117
-
- name: output_display_limit
118
-
type: int
119
-
default_value: 2000
120
-
public: false
121
-
description: Maximum size of run/diff/error/system output shown in the jury interface (in bytes); use `-1` to disable any limits.
122
-
regex: /^[1-9]\d*$/
123
-
error_message: A positive number is required.
114
+
description: Maximum size of error/system output stored in the database (in bytes); use `-1` to disable any limits. See `Display` / `output_display_limit` for how to control the output *shown*.
115
+
regex: /^([1-9]\d*|-1)$/
116
+
error_message: A positive number or -1 is required.
124
117
- name: lazy_eval_results
125
118
type: int
126
119
default_value: 1
@@ -208,6 +201,13 @@
208
201
- category: Display
209
202
description: Options related to the DOMjudge user interface.
210
203
items:
204
+
- name: output_display_limit
205
+
type: int
206
+
default_value: 2000
207
+
public: false
208
+
description: Maximum size of run/diff/error/system output shown in the jury interface (in bytes); use `-1` to disable any limits.
209
+
regex: /^([1-9]\d*|-1)$/
210
+
error_message: A positive number or -1 is required.
0 commit comments