INN commit: trunk/scripts (news.daily.in)
INN Commit
Russ_Allbery at isc.org
Fri May 8 09:09:50 UTC 2009
Date: Friday, May 8, 2009 @ 02:09:50
Author: iulius
Revision: 8454
Fix a bug in news.daily: when the server is throttled, it is
not properly seen and it might end up still being throttled
after the run of news.daily.
Modified:
trunk/scripts/news.daily.in
---------------+
news.daily.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: news.daily.in
===================================================================
--- news.daily.in 2009-05-08 09:07:57 UTC (rev 8453)
+++ news.daily.in 2009-05-08 09:09:50 UTC (rev 8454)
@@ -335,7 +335,7 @@
}
esac
case "${SERVERMODE}" in
- *space*" -- throttling")
+ "Server throttled"*)
echo "${SERVERMODE} -- trying to recover"
THROTTLED=true
EXPIREFLAGS="${EXPIREFLAGS} -n"
@@ -437,7 +437,7 @@
## Did we become throttled during the run?
SERVERMODE=`ctlinnd mode 2>/dev/null | ${SED} 1q`
case "${SERVERMODE}" in
-*space*" -- throttling")
+"Server throttled"*)
## We did, try to unthrottle the server.
echo "${SERVERMODE} -- trying to recover"
ctlinnd -s go ""
More information about the inn-committers
mailing list