cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8901) PrepareTemplate job thread hard-coded to max 8 threads
Date Tue, 29 Sep 2015 11:05:04 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934999#comment-14934999
] 

ASF GitHub Bot commented on CLOUDSTACK-8901:
--------------------------------------------

Github user koushik-das commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/880#discussion_r40658483
  
    --- Diff: server/src/com/cloud/template/TemplateManagerImpl.java ---
    @@ -278,6 +278,8 @@
         @Inject
         private EndPointSelector selector;
     
    +    protected final ConfigKey<Integer> TemplatePreloaderPoolSize = new ConfigKey<Integer>("Advanced",
Integer.class, "template.preloader.pool.size", "8", "Size of the TemplateManager threadpool",
false);
    --- End diff --
    
    @SudharmaJain You have to implement the Configurable interface. Check for its usage in
code.


> PrepareTemplate job thread hard-coded to max 8 threads
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-8901
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8901
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: sudharma jain
>
>  The thread pool is hardcoded to use 8 threads,
> com.cloud.template.TemplateManagerImpl.configure(String, Map<String, Object>):
> _preloadExecutor = Executors.newFixedThreadPool(8, new NamedThreadFactory("Template-Preloader"));
> Need to make it configurable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message