[job] add 'init' option

This commit is contained in:
Mike Fährmann
2026-02-01 20:48:37 +01:00
parent efa301fcc2
commit 56dcd00391
3 changed files with 27 additions and 0 deletions

View File

@@ -666,6 +666,28 @@ Note
is *required*
extractor.*.init
----------------
Type
* ``bool``
* ``string``
Default
``false``
Description
| Controls when to initialize extractor internals.
| (
`postprocessors <extractor.*.postprocessors_>`_,
`archives <extractor.*.archive_>`_,
`path-*` options, etc
)
``true``
Initialize everything immediately upon extractor start
``false`` | ``"lazy"``
Initialize data structures when processing the first ``post``
or not at all when an extractor never yields a ``post``.
extractor.*.input
-----------------
Type

View File

@@ -85,6 +85,7 @@
"sleep-429" : 60.0,
"actions": [],
"init" : "lazy",
"input" : null,
"netrc" : false,
"extension-map": {