diff options
author | Byron Jones <bjones@mozilla.com> | 2012-04-19 19:13:10 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-04-19 19:13:10 +0200 |
commit | 0717a2d3f2a94320d1ced1f7dcaa2f3e14d68bcd (patch) | |
tree | 73fefa9a3a324cf730b9a3cf3054e6575e216256 | |
parent | a7ea4cc08af57c63c496b28db419887ab7f77dbb (diff) | |
download | bugzilla-0717a2d3f2a94320d1ced1f7dcaa2f3e14d68bcd.tar.gz bugzilla-0717a2d3f2a94320d1ced1f7dcaa2f3e14d68bcd.tar.xz |
Bug 747016: fix uninit warning in report.cgi, and nice the forked arecibo process
-rw-r--r-- | Bugzilla/Arecibo.pm | 5 |
1 files 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( |