From f754eec46013979bd2e634cece1c1cd4290e4bbc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 2 Apr 2017 22:20:45 +0100 Subject: [PATCH] wip fixes --- README.config | 7 ++++++- client | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.config b/README.config index 881694f..fc2922f 100644 --- a/README.config +++ b/README.config @@ -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 --- 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') -- 2.30.2