Skip to content

Commit aff7f4e

Browse files
committed
Propagate cancellation
1 parent 4911523 commit aff7f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/tools/ToolMetadataExporter/Services/AzureMcpKustoDatastore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ internal async IAsyncEnumerable<McpToolEvent> GetLatestToolEventsAsync(string kq
140140
throw new FileNotFoundException($"KQL file not found: {kqlFilePath}");
141141
}
142142

143-
var kql = await File.ReadAllTextAsync(kqlFilePath);
143+
var kql = await File.ReadAllTextAsync(kqlFilePath, cancellationToken);
144144

145145
var clientRequestProperties = new ClientRequestProperties();
146146
var reader = await _kustoClient.ExecuteQueryAsync(_databaseName, kql, clientRequestProperties, cancellationToken);

0 commit comments

Comments
 (0)