aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-01-03 15:52:22 -0800
committerGravatar MarkKoz <[email protected]>2021-01-04 23:19:58 -0800
commit35de5fbe64624091c0742c28f811a0ea6da7cd4a (patch)
tree324db35fdc82a4f63157a88aac6be962fbd4201e /tests
parentLock: support waiting until a lock is available (diff)
HelpChannels: fix race condition between claiming and unclaiming
The race condition is when a user claims a channel while their other channel is being unclaimed. Specifically, it's while their cooldown is being removed. The lock ensures that either the cooldown will be re-applied after it's removed or that it won't be removed since `unclaim_channel` will see the user has another claimed channel.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions