cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] DaanHoogland commented on a change in pull request #2314: CLOUDSTACK-10136: Fix RemoteHostEndPoint thread growth
Date Thu, 01 Jan 1970 00:00:00 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message