Skip to content

Commit 2d77492

Browse files
committed
Add new flags to mindtouch scraper
1 parent 3194ca6 commit 2d77492

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

dispatcher/backend/src/common/schemas/offliners/mindtouch.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,25 @@ class Meta:
147147
data_key="illustration-url",
148148
)
149149

150+
optimization_cache = String(
151+
metadata={
152+
"label": "Optimization Cache URL",
153+
"description": "S3 Storage URL including credentials and bucket",
154+
"secret": True,
155+
},
156+
data_key="optimization-cache",
157+
)
158+
159+
assets_workers = fields.Integer(
160+
metadata={
161+
"label": "Asset workers",
162+
"description": "Number of parallel workers for asset processing. Default: "
163+
"10",
164+
},
165+
required=False,
166+
data_key="assets-workers",
167+
)
168+
150169
debug = fields.Boolean(
151170
truthy=[True],
152171
falsy=[False],

0 commit comments

Comments
 (0)