Skip to content

Commit

Permalink
Fix default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach committed Jun 2, 2024
1 parent e59ae12 commit 7d9a840
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public async Task Process(ServiceBusReceivedMessage message,
public Task StartReceive(CancellationToken cancellationToken = default) => Task.CompletedTask;

// No-op because the rate at which Azure Functions pushes messages to the pipeline can't be controlled.
public Task ChangeConcurrency(PushRuntimeSettings limitations, CancellationToken cancellationToken = new CancellationToken()) => Task.CompletedTask;
public Task ChangeConcurrency(PushRuntimeSettings limitations, CancellationToken cancellationToken = default) => Task.CompletedTask;

public Task StopReceive(CancellationToken cancellationToken = default) => Task.CompletedTask;

Expand Down

0 comments on commit 7d9a840

Please sign in to comment.