Skip to content

Commit 2aebf06

Browse files
Merge pull request #525 from TransactionProcessing/refactor/#521_querytiminginterceptor_remove_optional_param
Remove default value for cancellationToken in interceptor
2 parents a4b9c49 + e792533 commit 2aebf06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EstateReportingAPI.BusinessLogic/QueryTimingInterceptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public override DbDataReader ReaderExecuted(DbCommand command,
3737
public override async ValueTask<DbDataReader> ReaderExecutedAsync(DbCommand command,
3838
CommandExecutedEventData eventData,
3939
DbDataReader result,
40-
CancellationToken cancellationToken = new CancellationToken()) {
40+
CancellationToken cancellationToken) {
4141
LogIfRequired(command, eventData);
4242

4343
return result;

0 commit comments

Comments
 (0)