mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
ffc3da35a6
Rapid concurrent SSO attempts is something that happens quite frequently in the wild at large enough scale. When this happens conditions such as adding a user to a group could possibly fire concurrently causing a user to be added to the same group twice and erroring out. To avoid all concurrency issues here we protect with a coarse distributed mutex. This heavily mitigates the risk around concurrent group additions and concurrent updates to user related records. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |