mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
isert: Decrease connection timeout from 120 to 60 seconds
Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -165,7 +165,7 @@ static int add_new_connection(struct isert_listener_dev *dev,
|
||||
|
||||
init_timer(&conn_dev->tmo_timer);
|
||||
conn_dev->tmo_timer.function = isert_conn_timer_fn;
|
||||
conn_dev->tmo_timer.expires = jiffies + 120 * HZ;
|
||||
conn_dev->tmo_timer.expires = jiffies + 60 * HZ;
|
||||
conn_dev->tmo_timer.data = (unsigned long)conn_dev;
|
||||
add_timer(&conn_dev->tmo_timer);
|
||||
conn_dev->timer_active = 1;
|
||||
|
||||
Reference in New Issue
Block a user