Skip to content

Commit

Permalink
set executor
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Jun 8, 2024
1 parent 6d9b042 commit e430e17
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public ProcessContainerDomain(Digest group, ControlledIdentifierMember member, P
.protocolNegotiator(
new DomainSocketNegotiatorHandler.DomainSocketNegotiator(
IMPL))
.executor(Executors.newVirtualThreadPerTaskExecutor())
.withChildOption(ChannelOption.TCP_NODELAY, true)
.channelType(IMPL.getServerDomainSocketChannelClass())
.workerEventLoopGroup(portalEventLoopGroup)
Expand All @@ -93,6 +94,7 @@ public ProcessContainerDomain(Digest group, ControlledIdentifierMember member, P
outerContextEndpoint = new DomainSocketAddress(
communicationsDirectory.resolve(UUID.randomUUID().toString()).toFile());
outerContextService = NettyServerBuilder.forAddress(outerContextEndpoint)
.executor(Executors.newVirtualThreadPerTaskExecutor())
.protocolNegotiator(
new DomainSocketNegotiatorHandler.DomainSocketNegotiator(IMPL))
.withChildOption(ChannelOption.TCP_NODELAY, true)
Expand Down

0 comments on commit e430e17

Please sign in to comment.