DaanHoogland commented on a change in pull request #2314: CLOUDSTACK-10136: Fix 
RemoteHostEndPoint thread growth
URL: https://github.com/apache/cloudstack/pull/2314#discussion_r150249850
 
 

 ##########
 File path: 
engine/storage/src/org/apache/cloudstack/storage/RemoteHostEndPoint.java
 ##########
 @@ -65,10 +65,10 @@
     protected SecondaryStorageVmDao vmDao;
     @Inject
     protected HostDao _hostDao;
-    private ScheduledExecutorService executor;
+
+    private static ExecutorService executorService = 
Executors.newCachedThreadPool(new NamedThreadFactory("RemoteHostEndPoint"));
 
 Review comment:
   bug fix 1 :+1:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to