save checkpoint

This commit is contained in:
master
2026-02-14 09:11:48 +02:00
parent 9ca2de05df
commit e9aeadc040
1512 changed files with 30863 additions and 4728 deletions

View File

@@ -370,7 +370,7 @@ public sealed class BaselineTracker
P95Delta = p95Delta,
P95PercentChange = p95PercentChange,
ZScore = zScore,
IsSignificant = Math.Abs(zScore) > _config.SignificanceThreshold
IsSignificant = Math.Abs(zScore) >= _config.SignificanceThreshold
};
}

View File

@@ -77,7 +77,7 @@ public sealed class DataPrefetcher : BackgroundService
IReadOnlyList<Guid> gateIds,
CancellationToken ct = default)
{
var startTime = _timeProvider.GetUtcNow();
var stopwatch = System.Diagnostics.Stopwatch.StartNew();
var prefetchedItems = new List<PrefetchedItem>();
_logger.LogInformation(
@@ -128,7 +128,8 @@ public sealed class DataPrefetcher : BackgroundService
var predictedData = await PrefetchPredictedDataAsync(promotionId, gateIds, ct);
prefetchedItems.AddRange(predictedData);
var duration = _timeProvider.GetUtcNow() - startTime;
stopwatch.Stop();
var duration = stopwatch.Elapsed;
_logger.LogInformation(
"Prefetched {Count} items for promotion {PromotionId} in {Duration}ms",

View File

@@ -230,7 +230,7 @@ public sealed class ConnectionPoolManagerTests
cts.Cancel();
// Act & Assert
await Assert.ThrowsAsync<OperationCanceledException>(async () =>
await Assert.ThrowsAnyAsync<OperationCanceledException>(async () =>
{
await manager.AcquireAsync(endpoint, ConnectionType.Registry, cts.Token);
});