Skip to content

Commit cc63339

Browse files
authored
Update FederationManager.java
1 parent 811c768 commit cc63339

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/federation/src/main/java/org/eclipse/rdf4j/federated/FederationManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ public FederationManager() {
9292
public void init(FedX federation, FederationContext federationContext) {
9393
this.federation = federation;
9494
this.federationContext = federationContext;
95-
// Refactoring this causes ServicesTest to hang forever
95+
// Refactoring this to Executors.newThreadPerTaskExecutor(new NamingThreadFactory("FedX Executor"));
96+
// and refactoring NamingThreadFactory to use virtual threads causes ServicesTest to hang forever
9697
// (https://github.com/ponder-lab/rdf4j/actions/runs/10239404923/job/28324948852?pr=2)
9798
this.executor = Executors.newCachedThreadPool(new NamingThreadFactory("FedX Executor"));
9899

0 commit comments

Comments
 (0)