summaryrefslogtreecommitdiffstats
path: root/logserver
diff options
context:
space:
mode:
Diffstat (limited to 'logserver')
-rw-r--r--logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java b/logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java
index b3860da6fb7..80cc9ce0e94 100644
--- a/logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java
+++ b/logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java
@@ -15,11 +15,12 @@ import com.yahoo.jrt.Transport;
*/
public class RpcServer implements AutoCloseable {
- private final Supervisor supervisor = new Supervisor(new Transport());
+ private final Supervisor supervisor;
private final int listenPort;
private Acceptor acceptor;
public RpcServer(int listenPort) {
+ supervisor = new Supervisor(new Transport("logserver-" + listenPort));
this.listenPort = listenPort;
}