Closed mikedebock closed 6 years ago
BTW; using a transaction can still result in an error when concurrent requests are done. This should be handled with a try/except clause (select user, insert if no user, if insert fails due to duplicate, retrieve user)
This pr is unnecessary, fixed in get_or_create_for_cognito method.
Atomic transaction for creating new user, when firing multiple requests at same time.