File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1414
1515namespace Linq2db ;
1616
17- /// <summary>
18- /// SLO harness implemented on top of LINQ to DB provider for YDB.
19- /// Mirrors behavior of other SLO contexts (ADO.NET/EF/Topic) in this repo.
20- /// </summary>
2117public sealed class SloLinq2DbContext : ISloContext
2218{
2319 private static readonly ILogger Logger = ISloContext . Factory . CreateLogger < SloLinq2DbContext > ( ) ;
2420
25- // Prometheus metrics (shared labels: operation, status)
2621 private static readonly Counter Requests = Metrics . CreateCounter (
2722 "ydb_slo_requests_total" ,
2823 "Total number of SLO operations processed." ,
@@ -116,7 +111,6 @@ public async Task Run(RunConfig config)
116111 using var db = new DataConnection ( provider , ydb ) ;
117112 db . AddMappingSchema ( CreateMapping ( ) ) ;
118113
119- // Get current max Id
120114 var maxId = await db . GetTable < SloTable > ( ) . Select ( t => ( int ? ) t . Id ) . MaxAsync ( ) ?? 0 ;
121115 var nextWriteId = maxId ;
122116
You can’t perform that action at this time.
0 commit comments