29
|
1 |
4 |
unless getopt(\@args, "a|accepts=i", sub {
$prefork->accepts($_[1]);
}
, "b|backlog=i", sub {
$prefork->backlog($_[1]);
}
, "c|clients=i", sub {
$prefork->max_clients($_[1]);
}
, "G|graceful-timeout=i", sub {
$prefork->graceful_timeout($_[1]);
}
, "I|heartbeat-interval=i", sub {
$prefork->heartbeat_interval($_[1]);
}
, "H|heartbeat-timeout=i", sub {
$prefork->heartbeat_timeout($_[1]);
}
, "i|inactivity-timeout=i", sub {
$prefork->inactivity_timeout($_[1]);
}
, "k|keep-alive-timeout=i", sub {
$prefork->keep_alive_timeout($_[1]);
}
, "l|listen=s", \my @listen, "P|pid-file=s", sub {
$prefork->pid_file($_[1]);
}
, "p|proxy:s", \my @proxy, "r|requests=i", sub {
$prefork->max_requests($_[1]);
}
, "s|spare=i", sub {
$prefork->spare($_[1]);
}
, "w|workers=i", sub {
$prefork->workers($_[1]);
}
) |