TaskPipe/OpenProxyManager/IPList/Settings.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package TaskPipe::OpenProxyManager::IPList::Settings;
2  
3 use Moose;
4 with 'MooseX::ConfigCascade';
5  
6 =head1 NAME
7  
8 TaskPipe::OpenProxyManager::IPList::Settings - Settings for TaskPipe::OpenProxyManager::IPList
9  
10 =head1 METHODS
11  
12 =over
13  
14 =item default_port
15  
16 The port to use if no port is specified (this should probably always be 80)
17  
18 =cut
19  
20 has default_port => (is => 'ro', isa => 'Int', default => 80);
21  
22 =item max_threads
23  
24 The maximum number of threads to use when fetching/testing proxies
25  
26 =cut
27  
28 has max_threads => (is => 'ro', isa => 'Int', default => 10);
29  
30  
31 =item max_retries
32  
33 The maximum number of times to retry a request when fetching/testing proxies
34  
35 =back
36  
37 =cut
38  
39 has max_retries => (
40 is => 'ro',
41 isa => 'Str',
42 default => 3
43 );
44  
45  
46  
47  
48 1;