jsch-documentation icon indicating copy to clipboard operation
jsch-documentation copied to clipboard

check the unit of the timeout

Open ePaul opened this issue 13 years ago • 2 comments

Session.setTimeout(int), Session.connect() and Session.getTimeout() use an unsigned int value. There is nowhere documented what time unit (seconds, milliseconds?) is used here.

Look this up in the source (e.g. what is done with this value later) and document it.

ePaul avatar Sep 20 '11 00:09 ePaul

So, what's the unit?

buzeeg avatar Apr 13 '16 09:04 buzeeg

According to this question it should be millisecond: http://stackoverflow.com/questions/35009009/jsch-session-timeout-limit

eoodin avatar Mar 03 '17 10:03 eoodin