From 3bd628e8a1b211e610c21571e81489d07f4b217b Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 19 Oct 2009 21:10:10 +0000 Subject: Check GetPenaltyThreshold when processing commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11927 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.inspircd.inc') diff --git a/.inspircd.inc b/.inspircd.inc index a3df44eac..05cbe0ea0 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -261,7 +261,7 @@ sub cmd_stop() # Get to here, we have something to kill. my $pid = getprocessid(); print "Stopping InspIRCd (pid: $pid)...\n"; - my $maxwait = (`ps -o command $pid` =~ /valgrind/i) ? 90 : 5; + my $maxwait = (`ps -o command $pid` =~ /valgrind/i) ? 90 : 15; kill TERM => $pid or die "Cannot terminate IRCd: $!\n"; for (1..$maxwait) { sleep 1; -- cgit v1.2.3