package Cpanel::Easy::Apache::MPMThreadpool;

# cpanel - Cpanel/Easy/Apache/MPMThreadpool.pm    Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name'      => 'MPM Threadpool',
    'url'       => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/threadpool.html',
    'note'      => 'Before choosing *any* MPM read and understand the documentation that can found by clicking "More Info"',
    'verify_on' => "Have you read the documentation, fully understand the implications of using this MPM, and are you in a position to handle problems it may cause? If you answer NO to any of those questions it is highly recommended not to choose an MPM.",
    'skip'      => 1,
    'step'      => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->replace_in_configure( '--with-mpm' => 'threadpool' );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
