summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-28 06:22:47 +0200
committerByron Jones <glob@mozilla.com>2014-04-28 06:22:47 +0200
commit384b25d7661efd6da3b4597aec8ae91b3287ff14 (patch)
treef805cc9a810d53d370e17f28347f8d4deb8e53a3
parent2a96e6072b64b8f2479709850af8f34d81e74ff8 (diff)
downloadbugzilla-384b25d7661efd6da3b4597aec8ae91b3287ff14.tar.gz
bugzilla-384b25d7661efd6da3b4597aec8ae91b3287ff14.tar.xz
Bug 1002315: set a sane timeout in sentry.pl
-rwxr-xr-xsentry.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sentry.pl b/sentry.pl
index a053cc988..5c93e6ee3 100755
--- a/sentry.pl
+++ b/sentry.pl
@@ -86,7 +86,7 @@ flock(DATA, LOCK_EX);
# and post to sentry
my $request = POST $uri->canonical, %header, Content => $message;
-my $response = LWP::UserAgent->new->request($request);
+my $response = LWP::UserAgent->new(timeout => 10)->request($request);
__DATA__
this exists so the flock() code works.