|
|
|
|
|
by itslennysfault
1202 days ago
|
|
No, Promise.allSettled didn't exist yet. It was Promise.all. Someone basically made the assumption that await Promise.all would wait until ALL promises finished. Which is true..... unless one of them throws. In which case it continues. This caused a race condition. It was an extremely complex code base with 100s of engineers and the error very rarely happened, and when it did happen the app would get stuck on a loading screen forever. Also, it turns out "rarely" happens to a lot of people when you have millions of users. |
|