Branch: refs/heads/main
Home: https://github.com/jenkinsci/trilead-ssh2
Commit: 882177e77bc1baeb135e65944651983fce7c206e
https://github.com/jenkinsci/trilead-ssh2/commit/882177e77bc1baeb135e65944651983fce7c206e
Author: Elis Edlund <[email protected]>
Date: 2024-11-18 (Mon, 18 Nov 2024)
Changed paths:
M src/com/trilead/ssh2/transport/TransportManager.java
Log Message:
-----------
Revert timeout back 2000ms instead of 1200000ms in TransportManager.java
(#210)
Recent change to timeout be causing some SSH sessions, to timeout because of
inactivity.
Commands that worked without issues in our enviroment previously but not
anylonger:
sleep 120s
but it was working fine with:
asynchronousQueue.wait(2000);
but not with the new:
asynchronousQueue.wait(DEFAULT_WAIT_TIMEOUT); //1200000ms
Notice the even the comment was left: /* After the queue is empty for about 2
seconds, stop this thread */
I think it was a mistake to change this specific wait() with to a different
timeout.
as the pullrequest seems to want to introduce a default timeout to the wait()
with infinite timeouts.
https://github.com/jenkinsci/trilead-ssh2/commit/15622af005d77be07a89c29bb7e7565af72f33c9#diff-fbe5f13c040cb16dee69517cb436e446fa38cfb3262e690cc711f52a32edda75R92
To unsubscribe from these emails, change your notification settings at
https://github.com/jenkinsci/trilead-ssh2/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/trilead-ssh2/push/refs/heads/main/ff104d-882177%40github.com.