[FEATURE] Make import more robust by introducing timeout, recovery and watchdog #171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bugfix/13000_import_reporting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If upstream can't keep up with demand and stops answering requests,
timeouts for every request are imposed to avoid a stuck forever import run.
Additionally, retries are available so a failed request can recover.
The watchdog will keep an eye on the total runtime of an import and forcefully
terminate it, should it exceed its allocated budget. This abort will still enable
to persist collected data to database and write the log.
The log tells about those situations, should they occure, and so does the backend
module with a summary.
Extension configuration will provide values for the guard rails, with a hardcoded
fallback in place.
The existing FetchCache has been promoted from a runtime cache to a persitent one
with a livetime of currently 15 minutes, which will improve performance for imports
executed in short timely distance to each other. The livetime can be adjusted per
import within the import configuration.
Last but not least, import runs received output to give a sign of activity, the default
counting down processed root objects, and with
-vvva detailed list of retrieved URLs.Resolves: https://redmine.werkraum-media.de/issues/13000
Assisted-by: Claude Opus 5 noreply@anthropic.com
0c37dc6b474cc9db0ef6