Skip to content

Commit

Permalink
Bank changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mishadoff committed Oct 29, 2013
1 parent 5dd3a7f commit e4e8556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/test/Bank.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public long sum() {

public void simulate(int threads, int num, TransferStrategy ts) throws Exception{
ExecutorService service =
Executors.newFixedThreadPool(threads);
Executors.newFixedThreadPool(10);
for (int i = 0; i < threads; i++) {
service.submit(new BankThread(this, num, ts));
}
Expand Down

0 comments on commit e4e8556

Please sign in to comment.