K 10
svn:author
V 6
kondou
K 8
svn:date
V 27
1998-11-01T23:13:26.000000Z
K 7
svn:log
V 1256
innfeed/host.c:
innfeed/msgs.h:
	- From: Don Lewis <Don.Lewis@tsc.tdk.com>
	- We started getting an excessive number of deferrals on one of our
	  news peers, so I finally got around to fixing this in innfeed by
	  adding another queue for each host to hold deferred articles so that
	  their retries can be delayed.

	  Articles that are added to this new queue are counted towards the
	  host-queue-highwater limit.  If articles need to be spooled to the
	  .output file, the deferred articles are spooled first, because they
	  are more likely to be refused later and thus are less likely to need
	  to be read from disk when the backlog is processed.

	  Things to be aware of:

	    This patch is against a pretty old version of innfeed, so most
	    parts of it will have to be hand applied to the current version.

	    The stats file should probably be reformatted a bit.  I just
	    did a quick and dirty change.

	    Things that parse news.notice might need to be tweeked, since
	    the host status line changed from
	    	... deferred #articles ...
	    to
	    	... deferred #articles/avg-deferred-queue-length ...

	    The delay time is currently fixed at 5 seconds.  This should
	    probably be made a tunable parameter in innfeed.conf.

END
