Page MenuHomePhabricator

Better handling of timeouts during the import process
Open, MediumPublic

Description

Currently, when the import process times out, it just stops what it's doing and goes home, potentially leaving orphaned revisions or undeletable pages in the DB.

We should impose a timeout on import that is slightly shorter than the script execution timeout, to allow WikiImporter to clean up properly instead of leaving broken pages lying around.

Or even better... run imports in the background, rather than synchronously in a POST request.

Event Timeline

TTO raised the priority of this task from to Medium.
TTO updated the task description. (Show Details)
TTO added a project: MediaWiki-Core-Snapshots.
TTO subscribed.