Update Inventory Field Execution Limit

I have VELO to update stock, but it only runs for 100 times, There are 700 products, but it only seems to update the first 100 or so. The products array has indeed 700 products, the variant ID is the same for each part, and the inventory ids are correct and unique. I have omitted the code to show this.

Here is my code:

async function retrieveAllItems(sDB)
{
let oPermissions =
{
“suppressAuth”: true,
“suppressHooks”: true
};

let results = await wixData.query(sDB) 
	.limit(100) 
  	.find(oPermissions); 

let allItems = results.items; 
while (results.hasNext()) 
{ 
	results = await results.next(); 
	allItems = allItems.concat(results.items); 
} 
return allItems; 

}

async function executestock(sProductID)
{
let iStock = 111111;
let oVariantData =
{
“trackQuantity” : true,
“variants” : [
{
“quantity” :iStock,
“inStock” : true,
“variantId” : “00000000-0000-0000-0000-000000000000”
}
]
};
await updateInventoryVariantFields(sProductID,oVariantData);
}

export async function post_updatestock(request)
{
let sInventoryItem = “”;

let oPrtData = await retrieveAllItems("Stores/Products",""); 

    for (let i = 0; i< oPrtData.length; i++) 
{ 
	sInventoryItem = oPrtData[i].inventoryItem; 
	executestock(sInventoryItem); 
}; 

}

I have tried all ways of doing it and checking that all my assumptions are true. Why is there an apparent limit?

If I loop with i = i + 2 it does the altenate ones and that proves the array size.

Lawrence