Skip to content

Commit

Permalink
improve maxTransportThreads
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc committed Sep 26, 2021
1 parent 9c652d8 commit e1baca9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -76,7 +76,7 @@ private int maxTransportThreads() {
.get(ComputerOptions.JOB_WORKERS_COUNT);
Integer partitions = this.config
.get(ComputerOptions.JOB_PARTITIONS_COUNT);
return partitions / workerCount;
return partitions / workerCount + 1;
}

public TransportProvider transportProvider() {
Expand Down

0 comments on commit e1baca9

Please sign in to comment.