Skip to content

Commit 2bd6452

Browse files
committed
Have been Set initial value for Queue Polling Delay Milliseconds to avoid incorrect queue looping.
1 parent 6eb055c commit 2bd6452

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

TaskExecutor/TaskExecutor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class TaskExecutor : IDisposable
1313
private readonly ActiveTaskRegistry _taskRegistry = new();
1414
private readonly CancellationToken _externalCancellationToken;
1515
private readonly SemaphoreSlim _semaphore;
16-
private int _queuePollingDelayMilliseconds;
16+
private int _queuePollingDelayMilliseconds = DefaultQueuePollingDelayMilliseconds;
1717
private int _maxConcurrency;
1818
private bool _disposed;
1919

release-notes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
2025-05-30 Have been Set initial value for Queue Polling Delay Milliseconds to avoid incorrect queue looping
12
2025-05-30 Added queue polling delay constructor parameter and QueuePollingDelayMilliseconds property
23
2025-05-29 Refactored code. Improved stability.
34
2025-04-29 Added .ConfigureAwait(false) to all asynchronous calls in TaskExecutor to improve performance and avoid deadlocks.

0 commit comments

Comments
 (0)