File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
dispatcher/backend/src/common/schemas/offliners Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ class Meta:
162
162
"description" : "Number of parallel workers for asset processing. Default: "
163
163
"10" ,
164
164
},
165
- required = False ,
166
165
data_key = "assets-workers" ,
167
166
)
168
167
@@ -172,6 +171,18 @@ class Meta:
172
171
metadata = {"label" : "Debug" , "description" : "Enable verbose output" },
173
172
)
174
173
174
+ html_issues_warn_only = fields .Boolean (
175
+ truthy = [True ],
176
+ falsy = [False ],
177
+ metadata = {
178
+ "label" : "HTML issues warn only" ,
179
+ "description" : "[dev] Only log a warning when unexpected HTML is "
180
+ "encountered. Use with caution because activating this option means that "
181
+ "ZIM HTML will probably lead to online resources without user noticing it." ,
182
+ },
183
+ data_key = "html-issues-warn-only" ,
184
+ )
185
+
175
186
stats_filename = String (
176
187
metadata = {
177
188
"label" : "Stats filename" ,
You can’t perform that action at this time.
0 commit comments