Article View: news.software.nntp
Article #80332Re: Cleanfeed vs. "meow" groups.
From: Steve
Date: Tue, 10 Mar 2009 14:02
Date: Tue, 10 Mar 2009 14:02
36 lines
2199 bytes
2199 bytes
On Tue, 10 Mar 2009 11:01:14 +0000 (UTC), Steve wrote in
Message-Id: <slrngrci3q.6et.steve@news.mixmin.net>:
> return reject('Too many newsgroups (meow)', 'Too many newsgroups')
> if $gr{meow}
> and $gr{meow} != scalar @groups
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> and $config{meow_ext_maxgroups}
> and (scalar @followups - $gr{meow}) > $config{meow_ext_maxgroups};
That check is probably redundant. All eventualities I can think of are
caught by the final condition and performance isn't optimized by it in
any way I can see.
My brain is looping on the @groups vs. @followups at the moment. In
Cleanfeed, @followups is set to @groups unless a Followup-To is defined.
So, assuming meow_ext_groups=2:
Newsgroups: meow1,foo,bar,baz
Will be rejected (4-1=3).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,bar,baz
Will be accepted (3-1=2).
Newsgroups: meow1,foo,bar,baz
Followup-To: foo,baz,baz,qux
Will be rejected (4-1=3).
This may be precisely the logic the originator was looking for in order
to stop meow wars spreading.
--
pub 1024D/228761E7 2003-06-04 Steven Crook
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
uid Steven Crook <steve@mixmin.net>
Technical Details
Message-ID:
<slrngrcsmp.6et.steve@news.mixmin.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mixmin.net!not-for-mailReferences:
<gp4b26$nl3$1@aux.snarked.org> <slrngrci3q.6et.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <slrngrcsmp.6et.steve@news.mixmin.net> Subject: Re: Cleanfeed vs. "meow" groups. Date: Tue, 10 Mar 2009 14:02:01 +0000 From: Steve <steve@mixmin.net> References: <gp4b26$nl3$1@aux.snarked.org> <slrngrci3q.6et.steve@news.mixmin.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Lines: 36 NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@mixmin.net NNTP-Posting-Date: Tue, 10 Mar 2009 14:02:01 +0000 (UTC) User-Agent: slrn/pre1.0.0-2 (Linux)