From 960ea522aab2c23ba4de314d8040e230e81a855c Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Thu, 30 Aug 2012 14:47:37 -0700 Subject: [PATCH] Revert "CS-16213: maintain single thread cluster worker until we introduce thread ordering based on the source management server id" Reviewed-by: Kelven Yang --- server/src/com/cloud/cluster/ClusterManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/cluster/ClusterManagerImpl.java b/server/src/com/cloud/cluster/ClusterManagerImpl.java index 72182fdb8a2..4c7d4f28c1e 100755 --- a/server/src/com/cloud/cluster/ClusterManagerImpl.java +++ b/server/src/com/cloud/cluster/ClusterManagerImpl.java @@ -149,7 +149,7 @@ public class ClusterManagerImpl implements ClusterManager { // executor to perform remote-calls in another thread context, to avoid potential // recursive remote calls between nodes // - _executor = Executors.newFixedThreadPool(1, new NamedThreadFactory("Cluster-Worker")); + _executor = Executors.newCachedThreadPool(new NamedThreadFactory("Cluster-Worker")); } private void registerRequestPdu(ClusterServiceRequestPdu pdu) {