chiark / gitweb /
wip fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Apr 2017 21:20:45 +0000 (22:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Apr 2017 21:20:45 +0000 (22:20 +0100)
README.config
client

index 881694f..fc2922f 100644 (file)
@@ -61,7 +61,12 @@ Capped settings:
      [65536 bytes; LIMIT: 262144 bytes]
 
   max_queue_time
-     Discard downwards packets after this long (used by server only)
+     Discard packets after they have been queued this long waiting
+     for http.
+     On server: setting applies to downward packets, and is capped
+      by LIMIT values.
+     On client: setting applies to upward packets, and is
+      not affected by LIMIT values.
      [10 s; LIMIT: 121 s]
 
   http_timeout
diff --git a/client b/client
index 074803a..a56dde2 100755 (executable)
--- a/client
+++ b/client
@@ -214,6 +214,7 @@ def process_cfg(putative_servers, putative_clients):
       c.max_outstanding = srch(cfg.getint, 'max_requests_outstanding')
       c.max_batch_up    = srch(cfg.getint, 'max_batch_up')
       c.http_retry      = srch(cfg.getint, 'http_retry')
+      c.max_queue_time  = srch(cfg.getint, 'max_queue_time')
       c.vroutes         = srch(cfg.get,    'vroutes')
 
       try: c.url = srch(cfg.get,'url')