Browse Source

Double Task count

Former-commit-id: 39ac5b695b07eb39c7e26e34b24f854f85b92570
Former-commit-id: 20073516225c65cbec7e2b4ae4f69eff6f0dbdfd
Former-commit-id: 34b5405cd80ce9c44e92abaf122b53e9caf5110c
pull/17/head
James Jackson-South 10 years ago
parent
commit
fb579d08de
  1. 2
      src/ImageProcessor/ParallelImageProcessor.cs

2
src/ImageProcessor/ParallelImageProcessor.cs

@ -16,7 +16,7 @@ namespace ImageProcessor
/// <summary>
/// Gets or sets the count of workers to run the process in parallel.
/// </summary>
public virtual int Parallelism { get; set; } = Environment.ProcessorCount;
public virtual int Parallelism { get; set; } = Environment.ProcessorCount * 2;
/// <inheritdoc/>
public void Apply(ImageBase target, ImageBase source, Rectangle sourceRectangle)

Loading…
Cancel
Save