Page MenuHomePhabricator

Better handling of timeouts during the import process
Open, NormalPublic


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.