package Cpanel::Easy::Apache::RaiseFDSetsize;

# cpanel - Cpanel/Easy/Apache/RaiseFDSetsize.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' => 'Raise FD Setsize',
    'skip' => 1,
    'step' => {
        '0' => {
            'name'    => 'to patch list',
            'command' => sub {
                my ($self) = @_;
                $self->{'_'}{'apache_fd_setsize'} = '16384';
                return $self->apply_patch( '../cppatch/raise_fd_setsize_to_16384.patch', $self->{'_'}{'apache_src_path'} );
            },
        },
    },
};

1;
