Fix nonatomic database update potentially causing project star counts to go negative
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
Showing
Please register or sign in to comment