Commit 98f5ac6
authored
Changed where hackney compiles its metrics module (#2)
Under erlang 20, compilation is slower, and compiling the metrics
module when a connection is created doesn't make sense, as this can
cause the whole code server to become buried under recompilation
requests. This moves compilation to the application's start.1 parent 107f242 commit 98f5ac6
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments