-
Fix nonatomic database update potentially causing project star counts to go negative · ca3ce5c2Stan Hu authored
The counter_cache decrement function is called when a project star is deleted, but there was no guarantee multiple workers would not attempt to delete the same item simultaneously. Use an atomic update to prevent the count from going negative. Closes #3067
ca3ce5c2
To find the state of this project's repository at the time of any of these versions, check out
the tags.
×