diff options
Diffstat (limited to 'logserver/src')
-rw-r--r-- | logserver/src/main/java/ai/vespa/logserver/protocol/RpcServer.java | 3 |
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; } |