Commit 70d1ce4
committed
Fix race condition in route destination updates
Move route.reload inside the transaction block to ensure the returned
route reflects a consistent state. Previously, a concurrent request
could modify or delete the route between transaction commit and reload.1 parent c8604dc commit 70d1ce4
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | | - | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments