The polling is set really short (500 ms) - and on my slowish server the requests kept piling up - and most often the import would fail.
Changed the interval to 20 sec, works OK for me:
// Start polling
interval_id = setInterval(pollImportPercent, 20000);
- If one image fails with an 500 error, it gets stuck at that percentage and never finsh
- it also would be nice if one could bulk publish the imported galleries