humanmade / WordPress-Importer

In-development rewrite of the WordPress (WXR) Importer
Other
358 stars 63 forks source link

Web UI reconnect and state #77

Open asadkn opened 8 years ago

asadkn commented 8 years ago

I noticed the Web UI connections can be dropped for the server-sent events or PHP could reach max_execution_time. In cases like these, the state is saved for almost in a transient for settings but it might be missing some data - $mapping, $requires_mapping, $user_slug_override, $url_remap, $featured_images are stored in-memory.

I haven't done a full testing yet on the exact behavior but thought it would be a good idea to point it out.