EricJoy2048 commented on code in PR #2479:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2479#discussion_r951534505


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/SeaTunnelServer.java:
##########
@@ -65,7 +65,7 @@ public SeaTunnelServer(@NonNull Node node, @NonNull 
SeaTunnelConfig seaTunnelCon
         this.liveOperationRegistry = new LiveOperationRegistry();
         this.seaTunnelConfig = seaTunnelConfig;
         this.executorService =
-            
Executors.newFixedThreadPool(seaTunnelConfig.getEngineConfig().getServerExecutorPoolSize());
+            Executors.newCachedThreadPool();

Review Comment:
   done



##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/resourcemanager/SimpleResourceManager.java:
##########
@@ -40,7 +40,7 @@ public Address applyForResource(long jobId, long taskId) {
             Map<Long, Address> jobAddressMap = 
physicalVertexIdAndResourceMap.computeIfAbsent(jobId, k -> new HashMap<>());
 
             Address localhost =
-                    jobAddressMap.putIfAbsent(taskId, new Address("localhost", 
5701));
+                    jobAddressMap.putIfAbsent(taskId, new 
Address("192.168.1.10", 5801));

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to