summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-19 21:10:10 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-19 21:10:10 +0000
commit3bd628e8a1b211e610c21571e81489d07f4b217b (patch)
tree5c031ff0073bfadccf66aedd1ea601c7fc940e91 /.inspircd.inc
parent307c04d888109f9297aaadb63f687f175795973c (diff)
Check GetPenaltyThreshold when processing commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11927 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.inspircd.inc')
-rw-r--r--.inspircd.inc2
1 files changed, 1 insertions, 1 deletions
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;