projects
/
scpubgit/System-Introspector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9355573
)
made remote timeout configurable by env
Robert 'phaylon' Sedlacek [Fri, 3 Aug 2012 20:54:50 +0000 (20:54 +0000)]
lib/System/Introspector/Gatherer.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/System/Introspector/Gatherer.pm
b/lib/System/Introspector/Gatherer.pm
index
234168a
..
ef43727
100644
(file)
--- a/
lib/System/Introspector/Gatherer.pm
+++ b/
lib/System/Introspector/Gatherer.pm
@@
-10,7
+10,7
@@
has introspectors => (is => 'ro', required => 1);
sub gather_all {
my ($self) = @_;
my %report;
- alarm 60*60;
+ alarm($ENV{SI_GATHER_TIMEOUT} || 60*60);
for my $spec (@{ $self->introspectors }) {
my ($base, $args) = @$spec;
$report{$base} = use_module("System::Introspector::Probe::$base")