cyverse / django-cyverse-auth

All Auth schemes, used in various capacities, for CyVerse installations. Designed to be added as a Django App.
Other
1 stars 11 forks source link

Problem: Race condition on token get/create #11

Closed steve-gregory closed 7 years ago

steve-gregory commented 7 years ago

Solution: Fix the atomic transaction behavior.

If an integrity error is thrown, the reason will be that the object was already created. In these instances, go ahead and re-attempt the atomic transaction. Update django-cyverse-auth to 1.0.16 -- Fix atomic transaction block

Fixes #10 .