Skip to content

Commit

Permalink
conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bosello committed Jun 5, 2018
1 parent 9e3625d commit f6ba15f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/min-remote.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
akka {
actor {
provider = remote
default-dispatcher {
throughput = 1
}
}
remote {
enabled-transports = ["akka.remote.netty.tcp"]
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/TalkerMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class TalkerMain{

private final static int N_MESSAGE = 1000;
private final static int N_MESSAGE = 200;

public static void main(String[] args) throws InterruptedException {
System.out.println("talker process started");
Expand All @@ -28,7 +28,7 @@ public static void main(String[] args) throws InterruptedException {
sleep(20000);
for(int i = 0; i < N_MESSAGE; i++) {
client.tell(new SendMessage("User" + id + ": message" + i), null);
sleep(20);
sleep(200);
}
}
}

0 comments on commit f6ba15f

Please sign in to comment.