Commit 94be63f
authored
Remove routes caching from GetRoutes method (#187)
- Remove _routes static field that was caching deserialized routes
- Simplify GetRoutes to deserialize Routes.json on each invocation
- Maintain thread-safety through existing lock mechanism
- Routes are now always fresh from resource file1 parent 07524ea commit 94be63f
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
| 76 | + | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
0 commit comments