Submitted by pkeeney on Thu, 2007-08-23 07:48 in Price Tapestry
Is there a way way to make the script read gzip or just add a pause so I dont go over my cpu limit. I dont know if it is possible or not but it would be nice if After it uploads about 10mb it pauses for about 30 seconds then startes again.
Thanks
Actual uploading is a file system / FTP function and isn't something that can be easily interrupted every 10mb or so (unless your FTP program supports this feature, but it is not something I have come across).
What you can do, however, is interrupt the import process every few hundred products, which can significantly reduce your CPU usage. There's code for doing this in the following thread:
Hi,
Actual uploading is a file system / FTP function and isn't something that can be easily interrupted every 10mb or so (unless your FTP program supports this feature, but it is not something I have come across).
What you can do, however, is interrupt the import process every few hundred products, which can significantly reduce your CPU usage. There's code for doing this in the following thread:
http://www.pricetapestry.com/node/1230
Hope this helps!
Cheers,
David.