Be less overzealous about removing cached discovery results
[invirt/packages/xvm-iscsi-config.git] / debian / transform_iscsid.conf.xvm.mako
index 14075b0..7ef78b1 100755 (executable)
@@ -7,12 +7,16 @@ from invirt.config import structs as cfg
 EOF
 }
 
-s/^node.startup = manual/node.startup = automatic/m;
+s/^node\.startup = manual/node.startup = automatic/m;
 # mako just generally doesn't deal well with lines that start with
 # hashes, so we'll strip them
 #
 # And empty lines too, just for cleanliness
 s/^#.*$//m;
+
+# This is how long requests will sit in the queue before being failed
+# up to the next layer (i.e. multipath)
+s/^#?(node\.session\.timeo\.replacement_timeout).*$/\1 = 15/m;
 print unless /^$/;
 
 END {