mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 04:02:46 +08:00
![]() 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 |