Browse Source

Double Task count

Former-commit-id: 2bf6e18e8d0655a3c23255f54725789de3e98a88
Former-commit-id: 6c8046a897ff67908dd22a3466844cdb43c5669e
Former-commit-id: 17b1f360f150fecf1417de10e97040ed4ccf5999
pull/17/head
James Jackson-South 11 years ago
parent
commit
93e281481d
  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