Suggest a connection timeout
1 files changed, 7 insertions(+), 3 deletions(-)

M fetch-sanesecurity-sigs
M fetch-sanesecurity-sigs +7 -3
@@ 68,9 68,13 @@ cache_dir="/var/cache/sanesecurity"
 mirror="rsync://rsync.sanesecurity.net/sanesecurity"
 
 # Extra options for rsync
-# (For example, if you have a slow link you may want to add -z here to
-# enable compression)
-rsync_extra_opts=""
+# The default, --contimeout=30, makes for faster recovery if a mirror is
+# blocking your connection (e.g. if you connect too frequently).  However
+# this is not available in older versions of rsync so you may need to
+# remove it.
+# Additionally, if you have a slow link you may want to add -z here to
+# enable compression.
+rsync_extra_opts="--contimeout=30"
 
 # Minimum interval between updates, in minutes
 # (Note that the download servers may be configured to drop connections made