VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lindapowers on March 31, 2014, 12:32:13 PM

Title: Update order status execution time
Post by: lindapowers on March 31, 2014, 12:32:13 PM
Hi

VM 2.5.5

Happened twice to us that when updating order status at the same time for several orders it took quite a lot of time and resulted in multiple emails to each customer.

Not sure if this is a server side issue or if some kind of security could be added in this feature. Strangely seems to take more time than in previous VM versions to update orders.

I guess than when updating orders if emails are send there is a little risk that they get send several times, any way to avoid this?

Regards
Title: Re: Update order status execution time
Post by: Milbo on April 01, 2014, 11:20:25 AM
Hmmm, I need a bit more information. For example. You set 5 orders to "shipped". Do the customers recieve then 5 emails instead one? Or is it random?
Title: Re: Update order status execution time
Post by: lindapowers on April 01, 2014, 17:42:12 PM
Hi, when the issue happened it was with higher numbers. I set 80 orders to shipped and click update status for all orders.

Twice it took quite a while and random customers from the updated orders recieved the same email many times (until our hosting limit stopped sending it)

Dont know if the word is a "loop" in english.

Regards
Title: Re: Update order status execution time
Post by: Milbo on April 02, 2014, 15:58:10 PM
80 orders are just too much. I wonder about the speed issue actually we did almost change nothing there and nothing which can make a speed difference (from my point of view of course).
But 80 orders sum up easily to more than 1 minute execution time. What happens with 10 orders?
Title: Re: Update order status execution time
Post by: lindapowers on April 02, 2014, 18:09:59 PM
Quote from: Milbo on April 02, 2014, 15:58:10 PM
80 orders are just too much. I wonder about the speed issue actually we did almost change nothing there and nothing which can make a speed difference (from my point of view of course).
But 80 orders sum up easily to more than 1 minute execution time. What happens with 10 orders?

With 10 orders it works faster yes, we did 150 today at the same time, usually around 100, so maybe a bad idea.