chiark / gitweb /
comment for dealing with wedge problems
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 2 May 2010 23:18:19 +0000 (00:18 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 2 May 2010 23:18:19 +0000 (00:18 +0100)
backends/innduct.c

index 2d17982fc20223b098cbb9e886924ac4f89d9f3c..18ce508c2ce93672d57e17411ee786c78a276f02 100644 (file)
@@ -3,6 +3,26 @@
  *  build-lfs/backends/innduct --connection-timeout=30 --no-daemon -C ../inn.conf -f `pwd`/fee sit localhost
  */
 
  *  build-lfs/backends/innduct --connection-timeout=30 --no-daemon -C ../inn.conf -f `pwd`/fee sit localhost
  */
 
+/*--
+flow control notes
+to ensure articles go away eventually
+separate queue for each input file
+  queue expiry
+    every period, check head of backlog queue for expiry with SMretrieve
+      if too old: discard, and check next article
+    also check every backlog article as we read it
+  flush expiry
+    after too long in SEPARATED/DROPPING ie Separated/Finishing/Dropping
+    one-off: eat queued articles from flushing and write them to defer
+    one-off: connfail all connections which have any articles from flushing
+    newly read articles from flushing go straight to defer
+    this should take care of it and get us out of this state
+to avoid filling up ram needlessly
+  input control
+    limit number of queued articles for each ipf
+    pause/resume inputfile tailing
+--*/
+
 /*
  * Newsfeeds file entries should look like this:
  *     host.name.of.site[/exclude,exclude,...]\
 /*
  * Newsfeeds file entries should look like this:
  *     host.name.of.site[/exclude,exclude,...]\