Commit db850bd
authored
Use public function instead of lambda (#119)
Metrics specifications can be copied to many different processes by some
of the handlers, this mean that we need to reduce the size of metrics
specs as much as possible to perform well in high throughput services.
This change replaces lambda with function capture, that not only
provides smaller footprint, it also allows some handlers to pattern
match on function if needed.1 parent 74d186e commit db850bd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | | - | |
| 650 | + | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| |||
0 commit comments