After queueing deltas, send out an initial two mails since that will cover

99.9% of the cases at with out delay as before.
This commit is contained in:
Peter Wemm 1996-09-07 19:50:48 +00:00
parent 955892a940
commit 0ef88e5a1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18115

View file

@ -336,6 +336,9 @@ while 1 {
puts "Queueing delta"
flush stdout
exec $CTMSW/ctm_smail -m $CTMmaxmsg -c $CTMmaxctm -q $CTMqueue $CTMdest/${nm}.gz $CTMqueuemail >&@ stdout
puts "Sending initial two deltas"
flush stdout
exec $CTMSW/ctm_dequeue -n 2 $CTMqueue >&@ stdout
}
}
exec echo mailed > $CTMlock