Hello, I have used another topic to post this subject, but no one replied 
to it so I am making a new one.

Can anyone please tell me if NO_STOCK_CHECKOUT=False is concurrency safe? 
Meaning, what happens if two costumers place an order with the sum of 
product quantities higher than the stock of the order, or something like 
that. I am new to django and python and from what I saw the 
decrease_inventory_on_sale is called on the order_success signal, which I 
am not sure whether they're thread safe or not. But aside from these 
signals if the function _set_quantity from satchmo_store.shop.views.cart 
is called at the same time from two simultaneous requests, the case with 
the two customers adding the same product with overflowing sum of 
quantities happens.

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to