-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix / Resolving of Batched Routes #1112
Conversation
sonytooo
commented
Nov 22, 2024
•
edited
Loading
edited
- Fixed: https://github.com/AmbireTech/ambire-app/issues/3272
- Added network name to the bridge banners on the Dashboard
}) | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the problem with Promise.all-ing these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue occurs because updateActiveRoute writes to this.activeRoutes. When multiple routes are updated in parallel, it causes a race condition, resulting in some routes failing to update properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
➕ Same as Kalo's feedback