From d8f00661e5f3eb46ec9f791506916ae5de983ca9 Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 6 Apr 2004 07:33:16 +0000 Subject: sleep 2 secs between each mail if mail to .bbs (or breaks bbsmail) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1707 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/waterball.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'util/waterball.pl') diff --git a/util/waterball.pl b/util/waterball.pl index d3fcc343..f76d32f9 100644 --- a/util/waterball.pl +++ b/util/waterball.pl @@ -40,6 +40,7 @@ foreach $fndes ( <$JOBSPOOL/water.des.*> ){ #des: userid, mailto, outmode subject => "和 $who 的水球記錄", body => $content, }) ){ print "fault\n"; } + sleep(2) if( $mailto =~ /\.bbs/ ); } unlink $fnsrc; unlink $fndes; -- cgit v1.2.3