From e806137248ac956c8329a4cb3505abd6eabfe28f Mon Sep 17 00:00:00 2001 From: axunonb Date: Fri, 12 Apr 2024 17:58:09 +0200 Subject: [PATCH] Remove stoppingToken in ExecuteTaskChunkAndWait --- Axuno.BackgroundTask/ConcurrentBackgroundQueueService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Axuno.BackgroundTask/ConcurrentBackgroundQueueService.cs b/Axuno.BackgroundTask/ConcurrentBackgroundQueueService.cs index f13a2b0..dcd72e8 100644 --- a/Axuno.BackgroundTask/ConcurrentBackgroundQueueService.cs +++ b/Axuno.BackgroundTask/ConcurrentBackgroundQueueService.cs @@ -119,7 +119,7 @@ private async Task ExecuteTaskChunk(Queue taskListReference, Ca taskChunk.Add(task); } - await ExecuteTaskChunkAndWait(taskChunk, stoppingToken); + await ExecuteTaskChunkAndWait(taskChunk); } catch (Exception ex) { @@ -132,7 +132,7 @@ private async Task ExecuteTaskChunk(Queue taskListReference, Ca } } - private async Task ExecuteTaskChunkAndWait(List taskChunk, CancellationToken stoppingToken) + private async Task ExecuteTaskChunkAndWait(List taskChunk) { if (taskChunk.Count == 0) return;