🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #7025

C News sendbatches problem

#7025
From: Jon Zeeff
Date: Wed, 28 Feb 1990 19:33
15 lines
1214 bytes
I recently had a site that I feed go down for awhile.  When it came back up,
I found that instead of immediately trying to catch up, C News wasn't
sending any news to the other site.   It turns out that sendbatches creates
empty batches when you ask it to spool up news that has expired and then
counts these empty batches in its calculations about how much news is
spooled.  If I waited long enough (like maybe several days), news would have
started flowing again.

One cure for this problem is to make queuelen only count non-empty (> 
1k) batches (hint: use find) and to modify sendbatches to recheck 
queuelen before exiting.  Does anyone have a better fix?  How about 
something that doesn't send empty batches at all?  

-- 
Jon Zeeff    	zeeff@b-tech.ann-arbor.mi.us  or b-tech!zeeff
Technical Details
Message-ID: <_+2#P#G@b-tech.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!yale!ox.com!itivax!b-tech!zeeff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!cs.utexas.edu!yale!ox.com!itivax!b-tech!zeeff
From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Newsgroups: news.software.b
Subject: C News sendbatches problem
Message-ID: <_+2#P#G@b-tech.uucp>
Date: 28 Feb 90 19:33:14 GMT
Reply-To: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Organization: Branch Technology Ann Arbor, MI
Lines: 15