commit | f471fa0b837913d1ad861164497e361365a7f74b | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 15 10:48:12 2017 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 15 10:48:12 2017 +0100 |
tree | 31f8f378f02de64fc40a56d29dc86b8fdcebcf44 | |
parent | 50d2a5c6be56556565fc28b6efa4ac5a74064943 [diff] [blame] |
session CHANGE new timeout introduced Also described with other options in README.
diff --git a/src/session.c b/src/session.c index afc89f5..b52de4e 100644 --- a/src/session.c +++ b/src/session.c
@@ -333,7 +333,7 @@ } if (session->ti_lock) { - r = nc_timedlock(session->ti_lock, NC_READ_TIMEOUT * 1000, __func__); + r = nc_timedlock(session->ti_lock, NC_SESSION_FREE_LOCK_TIMEOUT, __func__); if (r == -1) { return; } else if (!r) {