Commit 33bc28f
authored
Fix config being loaded twice (#293)
* ✨ create memoizing AgentConfigSupplier encapsulating double-checked locking logic
* ♻️ refactor HypertraceConfig to use thread-safe AgentConfigSupplier
* Revert "♻️ refactor HypertraceConfig to use thread-safe AgentConfigSupplier"
This reverts commit 19ad84b.
* 👌 move double-checked locking implementation back into HypertraceConfig
* 🔥 delete AgentConfigSupplier as it is now unused1 parent 13494b4 commit 33bc28f
File tree
1 file changed
+5
-2
lines changed- javaagent-core/src/main/java/org/hypertrace/agent/core/config
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
0 commit comments