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 Thu, 24 Sep 2015 06:23:04 GMT

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

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

GitHub user SudharmaJain opened a pull request:

    https://github.com/apache/cloudstack/pull/880

    CLOUDSTACK-8901: PrepareTemplate job thread hard-coded to max 8 threads

     The thread pool was hardcoded to use 8 threads,
    com.cloud.template.TemplateManagerImpl.configure(String, Map<String, Object>):
    _preloadExecutor = Executors.newFixedThreadPool(8, new NamedThreadFactory("Template-Preloader"));
    
    Added the change to pick threadpool size from configuration.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SudharmaJain/cloudstack cs-8901

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/880.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #880
    
----
commit 49ed8ee960acce13f32def10e15924c84257c4e4
Author: SudharmaJain <sudharma.jain@citrix.com>
Date:   2015-09-24T06:11:54Z

    CLOUDSTACK-8901: PrepareTemplate job thread hard-coded to max 8 threads

----


> 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