Commit 83cc761
committed
Remove unnecessary route.reload after updating destinations
The reload and return value were unused by all callers. Removing them
fixes a race condition where concurrent route deletion caused 500 errors.
Observed error:
Record not found (Sequel::NoExistingObject) at
update_route_destinations.rb:97 in reload1 parent c8604dc commit 83cc761
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
| |||
0 commit comments