🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23914

Neat diablo trick

#23914
From: Nigel Metheringham
Date: Tue, 02 Dec 1997 00:00
26 lines
1480 bytes
Following a minor problem where one of our reader boxes happily threw
away a pile (12 hours) of news, I though it would be neat if diablo
could keep a backlog queue, which I could then hack to provide a
resend if something had gone wrong.

I could just define an outgoing set of rules in dnewsfeeds, and a
matching rule in dnntpspool.ctl with a duff target host and nobatch,
but the prospect of adding a few thousand files into /news/dqueue
worried me - performance might be substantially knocked by a directory
with 10's of thousands of entries.

Then it struck me.  You can make the newsfeed label a directory spec -
ie backlog1/big8 and diablo happily puts all them files into the
backlog1 directory.

Works like a champ.  I now keep 4 days queue backlog on all groups
just in case.

	Nigel.

-- 
[ Nigel Metheringham - nigelm@pobox.com -  Systems Software Engineer ]
[       Real life is but a pale imitation of a Dilbert strip         ]

Technical Details
Message-ID: <slrn688k09.6nh.nigelm@camel.theplanet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn688k09.6nh.nigelm@camel.theplanet.net>
Subject: Neat diablo trick
Date: Tue, 02 Dec 1997 00:00:00 +0000
From: nigelm@pobox.com (Nigel Metheringham)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 294586328
Organization: [not set]
Reply-To: nigelm@pobox.com
Newsgroups: news.software.nntp