Opened 15 years ago
Closed 15 years ago
#14395 closed defect (bug) (fixed)
WordPress Importer can time out on importing categories/tags
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | |
Component: | Import | Keywords: | |
Focuses: | Cc: |
Description
The WordPress Importer does not set a time limit when importing categories and tags. This means the server's default time limit (30 seconds or whatever) is used. It's then easy to time out if you're importing a ton of categories and/or tags.
This isn't a problem for importing posts though as the timer is reset at the beginning of each post import.
The timer should either be removed or reset between each category/tag.
Change History (5)
#4
follow-up:
↓ 5
@
15 years ago
- Owner changed from nacin to duck_
- Status changed from new to assigned
Should be fixed with http://plugins.trac.wordpress.org/changeset/322932.
duck_ will do some final testing.
#5
in reply to:
↑ 4
@
15 years ago
- Keywords needs-patch removed
- Resolution set to fixed
- Status changed from assigned to closed
Replying to ocean90:
Should be fixed with http://plugins.trac.wordpress.org/changeset/322932.
duck_ will do some final testing.
Fixed.
Only problems I ever encounter are memory issues, but the main way to sort that is to promote splitting of the files if they're too large (also see #15812, #5389).
Is there a good reason for the importers to not just set_time_limit(0) at the start of them?