We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e4e551 commit 47dfee4Copy full SHA for 47dfee4
src/KurrentDB.Core/MetricsBootstrapper.cs
@@ -40,7 +40,10 @@ public class GrpcTrackers {
40
private readonly IDurationTracker[] _trackers;
41
42
public GrpcTrackers() {
43
- _trackers = new IDurationTracker[Enum.GetValues<Conf.GrpcMethod>().Cast<int>().Max() + 1];
+ int[] gs = [1, 2, 3];
44
+ //qq somehow fix EntryPointNotFoundException after a while in the mininode tests???
45
+ _trackers = new IDurationTracker[Enum.GetValues<Conf.GrpcMethod>().Select(x => (int)x).Max() + 1];
46
+ //_trackers = new IDurationTracker[Enum.GetValues<Conf.GrpcMethod>().Cast<int>().Max() + 1];
47
var noOp = new DurationTracker.NoOp();
48
for (var i = 0; i < _trackers.Length; i++)
49
_trackers[i] = noOp;
0 commit comments