Browse Source

Double Task count

Former-commit-id: 2bf6e18e8d0655a3c23255f54725789de3e98a88
Former-commit-id: 6c8046a897ff67908dd22a3466844cdb43c5669e
Former-commit-id: 17b1f360f150fecf1417de10e97040ed4ccf5999
af/merge-core
James Jackson-South 11 years ago
parent
commit
fc5a15e9e0
  1. 2
      src/ImageProcessor/ParallelImageProcessor.cs

2
src/ImageProcessor/ParallelImageProcessor.cs

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

Loading…
Cancel
Save