From f839837f34661aeb75b5038c54cf82a15049bbb9 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Thu, 13 Mar 2014 18:32:44 +0000 Subject: [PATCH] document new config options --- lib/config_def.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/config_def.yaml b/lib/config_def.yaml index 30a0734e6..9850a0b88 100644 --- a/lib/config_def.yaml +++ b/lib/config_def.yaml @@ -22,6 +22,14 @@ uplinks: # uplink if a similar request was made less than 2 minutes ago #maxage: 2m + # if two subsequent requests fail, no further requests will be sent to + # this uplink for five minutes + #max_fails: 2 + #fail_timeout: 5m + + # timeouts are defined in the same way as nginx, see: + # http://wiki.nginx.org/ConfigNotation + packages: # uncomment this for packages with "local-" prefix to be available # for admin only, it's a recommended way of handling private packages