Skip to content
Snippets Groups Projects
Commit 81e5dbf2 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V1.2: Fix race condition with counter for concurrent orders

- Change the counter values to a non-autoloading option
- Clear the option cache before reading the current counter value

Before this change, one order would change the counter value, but a second order submitted while the first is still processed would get the old, cached value and thus generate duplicate order numbers. This changes make sure that the counter is never used from cached values.
parent 7966244e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment