Skip to content

Commit

Permalink
fix thread pool queue error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed Jul 9, 2024
1 parent 6285bb3 commit 46e868e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed class SingleConcurrentThread
private readonly SmartThreadPool _worker = new(1000, 1)
{
Concurrency = 1,
MaxQueueLength = 1
MaxQueueLength = 5
};

private readonly CancellationTokenSource _cancellationTokenSource = new();
Expand Down

0 comments on commit 46e868e

Please sign in to comment.