You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really; you should be using asyncio.Lock instead. Yes, it is very useful and very important to prevent race conditions while updating state. Don't forget that every time you call await another async task can go change something after you already checked its value.. same race-condition issue as multi-threaded code and the reason for the lock.
Currently we just copied what Django had. But I think we can remove the lock.
The text was updated successfully, but these errors were encountered: