You are here:  » Increase cron import speed


Increase cron import speed

Submitted by macland on Wed, 2017-05-10 06:13 in

Is there a way to increase the cron import speed from the 100 products at a time to fx. 2500?
I have 1.000.000+ products, so even with SSH it's gonna take a very long time importing all the feeds :-)

Submitted by support on Wed, 2017-05-10 07:48

Hi,

Unfortunately there's no quick fix to speeding up the import process other than an increase in hosting specification (processor / RAM) but you can easily change the reporting frequency in order to generate less output - to do this edit includes/admin.php and look for the following code at line 530:

  if (!($admin_importProductCount % 100))

...and REPLACE with:

  if (!($admin_importProductCount % 2500))

...or as required.

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by sirmanu on Wed, 2017-05-10 19:51

Hi. And also as David pointed me in other thread, use CSV rather than XML when possible. It is much faster.
Regards