|
@@ -244,8 +244,9 @@ def generate_xml():
|
|
print("Cache loaded")
|
|
print("Cache loaded")
|
|
|
|
|
|
products = []
|
|
products = []
|
|
- for product in batch_products(client, params={'filter[active]': '1'},
|
|
|
|
- batch_size=10, hard_limit=1):
|
|
|
|
|
|
+ for product in batch_products(
|
|
|
|
+ client, params={'filter[active]': '1'}, batch_size=100
|
|
|
|
+ ):
|
|
products += client.parse_product(product)
|
|
products += client.parse_product(product)
|
|
|
|
|
|
xml = dicttoxml(
|
|
xml = dicttoxml(
|