Fix ordinamento metriche descending
This commit is contained in:
@@ -127,7 +127,9 @@ namespace IOB_UT_NEXT
|
||||
Dictionary<string, CallStats> snapshot;
|
||||
lock (_serializationLock)
|
||||
{
|
||||
snapshot = _metrics.ToDictionary(
|
||||
snapshot = _metrics
|
||||
.OrderByDescending(x => x.Value.Count)
|
||||
.ToDictionary(
|
||||
kvp => kvp.Key,
|
||||
kvp => new CallStats(kvp.Value.Count, kvp.Value.TotalElapsed));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user