From 0717a2d3f2a94320d1ced1f7dcaa2f3e14d68bcd Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 19 Apr 2012 10:13:10 -0700 Subject: Bug 747016: fix uninit warning in report.cgi, and nice the forked arecibo process --- Bugzilla/Arecibo.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Arecibo.pm b/Bugzilla/Arecibo.pm index 7a3b1fc49..de7158349 100644 --- a/Bugzilla/Arecibo.pm +++ b/Bugzilla/Arecibo.pm @@ -20,9 +20,9 @@ our @EXPORT = qw( use Apache2::Log; use Apache2::SubProcess; use Carp; -use Email::Date::Format 'email_gmdate'; +use Email::Date::Format qw(email_gmdate); use LWP::UserAgent; -use POSIX 'setsid'; +use POSIX qw(setsid nice); use Sys::Hostname; use Bugzilla::Util; @@ -200,6 +200,7 @@ sub arecibo_handle_error { open(STDOUT, '>/dev/null'); open(STDERR, '>/dev/null'); setsid(); + nice(19); # post to arecibo (ignore any errors) my $agent = LWP::UserAgent->new( -- cgit v1.2.3-24-g4f1b