An error occurred while fetching folder content.
Ramakrishnan Muthukrishnan
authored
`redeemVoucher' reads stuff from the db, makes decisions and then writes to the db. However if there is another client doing a simultaneous `redeemVoucher' for the same `voucher', then both of them would redeem the voucher, which is incorrect. The operations should have exclusive access to the db and this is achieved with `withExclusiveTransaction`.
Name | Last commit | Last update |
---|---|---|
.. |