Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make default behavior better for avoiding Perl signals problems.
Set PERL_SIGNALS to unsafe unless another setting exists in environment.
Set MaxServers to 0 in the default interchange.cfg.
  • Loading branch information
jonjensen committed Sep 21, 2006
1 parent 1e1684a commit e1c6f77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/interchange.cfg.dist
Expand Up @@ -65,14 +65,14 @@ endif
ifdef TRAFFIC =~ /low/i
Message Low traffic settings.
HouseKeeping 3
MaxServers 5
MaxServers 0
PIDcheck 300
endif

ifdef TRAFFIC =~ /high/i
Message High traffic settings.
HouseKeeping 2
MaxServers 10
MaxServers 0
PIDcheck 120
endif

Expand Down
4 changes: 3 additions & 1 deletion scripts/interchange.PL
Expand Up @@ -3,7 +3,7 @@
#
# Interchange version 5.5.0
#
# $Id: interchange.PL,v 2.91 2006-09-21 14:52:49 jon Exp $
# $Id: interchange.PL,v 2.92 2006-09-21 14:56:39 jon Exp $
#
# Copyright (C) 2002-2006 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
Expand Down Expand Up @@ -42,6 +42,8 @@ no Config;
BEGIN {
require 5.008;

$ENV{PERL_SIGNALS} ||= 'unsafe';

$Global::Foreground = 1;

($Global::VendRoot = $ENV{MINIVEND_ROOT})
Expand Down

0 comments on commit e1c6f77

Please sign in to comment.