summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-12-14 12:12:02 -0600
committerMike Christie <michaelc@cs.wisc.edu>2007-12-14 12:12:02 -0600
commit0030504fc278577437e0a421145d6070909577a6 (patch)
tree56330118d8fe85ac95e995b324c26eb858cb1866 /usr
parenta9d70a4342b86835171912625659385af91eb16f (diff)
downloadopen-iscsi-0030504fc278577437e0a421145d6070909577a6.tar.gz
sync up nop defaults
iscsi_settings.h uses the old default nop settings. They were longer than the 5 secs we use now, because they were sent every noop_out_interval. Now we only send a nop if we have not got any traffic in noop_out_interval secs.
Diffstat (limited to 'usr')
-rw-r--r--usr/iscsi_settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/iscsi_settings.h b/usr/iscsi_settings.h
index 107a4f7..56f505f 100644
--- a/usr/iscsi_settings.h
+++ b/usr/iscsi_settings.h
@@ -5,8 +5,8 @@
/* timeouts in seconds */
#define DEF_LOGIN_TIMEO 30
#define DEF_LOGOUT_TIMEO 15
-#define DEF_NOOP_OUT_INTERVAL 10
-#define DEF_NOOP_OUT_TIMEO 15
+#define DEF_NOOP_OUT_INTERVAL 5
+#define DEF_NOOP_OUT_TIMEO 5
#define DEF_REPLACEMENT_TIMEO 120
#define DEF_ABORT_TIMEO 15