diff --git a/04/src/ClientThread.java b/04/src/ClientThread.java index 518ac09..93b2856 100644 --- a/04/src/ClientThread.java +++ b/04/src/ClientThread.java @@ -29,7 +29,7 @@ public class ClientThread extends Thread { while(true) { try { int taid = beginTransaction(); - int numberOfWrites = ThreadLocalRandom.current().nextInt(0, 10); + int numberOfWrites = ThreadLocalRandom.current().nextInt(1, 11); for (int i = 0; i < numberOfWrites; ++i) { write(taid); }