Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r20665: LJSUP-9747: Update admin tools

Committer: gariev
LJSUP-9747: Update admin tools
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-11-30 15:01:02 UTC (rev 20664)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-11-30 15:04:40 UTC (rev 20665)
@@ -78,7 +78,7 @@
 
 ##
 ## The code below is a bit rough, it was written during DDoS attacks.
-## If $LJ::SHOW_SLOW_QUERIES is true, slow (>10 secs) requests are
+## If $LJ::SHOW_SLOW_QUERIES is true, slow (>20 secs) requests are
 ## interrupted and stacktrace is sent to error log.
 ##
 $LJ::SHOW_SLOW_QUERIES = 1;
@@ -107,7 +107,7 @@
         my $uri  = LJ::Request->uri;
         $request_str = "$method http://$host$uri";
         $request_start_time = time();
-        alarm(10);
+        alarm(20);
     }
 
     BML::current_site('livejournal');

Tags: gariev, livejournal, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments