Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #3
Project: gerrit
Branch: master
Author: Narendra Kumar <
Link:
Fix timeouts calculation in SshDaemon
Expand for full commit details
Fix timeouts calculation in SshDaemon
In the change [1] a bug has been introduced.
The timeouts were multiplied by one thousand while preserving the time
unit. For example, if sshd.idleTimeout was set to one minute in gerrit
config then it became 1000 minutes. For this reason the idle
connections were not terminated for a long time. For example,
idleTimeout=5m caused idle connections staying up for days.
[1] Ia4f033269440fe7e1ecc268c10b1fbd97631484c
Bug: Issue 365889749
Release-Notes: Fix timeouts calculation in SshDaemon
Change-Id: I2f1cfb265d6be84bfbc9c376f58e0a43d8f0e40d
Files:
- M
java/com/google/gerrit/sshd/SshDaemon.java
Hash: 44a97a1c543a740cdd331aa945c9c5d33f13b772
Date: Wed Sep 11 10:05:41 2024
sy...@gmail.com <sy...@gmail.com>
ap...@google.com <ap...@google.com> #4
Project: gerrit
Branch: stable-3.4
Author: Narendra Kumar <
Link:
Fix timeouts calculation in SshDaemon
Expand for full commit details
Fix timeouts calculation in SshDaemon
In the change [1] a bug has been introduced.
The timeouts were multiplied by one thousand while preserving the time
unit. For example, if sshd.idleTimeout was set to one minute in gerrit
config then it became 1000 minutes. For this reason the idle
connections were not terminated for a long time. For example,
idleTimeout=5m caused idle connections staying up for days.
[1] Ia4f033269440fe7e1ecc268c10b1fbd97631484c
Bug: Issue 365889749
Release-Notes: Fix timeouts calculation in SshDaemon
Change-Id: I2f1cfb265d6be84bfbc9c376f58e0a43d8f0e40d
(cherry picked from commit 44a97a1c543a740cdd331aa945c9c5d33f13b772)
Files:
- M
java/com/google/gerrit/sshd/SshDaemon.java
Hash: dd0ab802c36dd0b059f0f5eb018ce294a8bfc0ec
Date: Wed Sep 11 10:05:41 2024
Description
*** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *** Do not submit bugs for chrome/android and issues with your company's *** Gerrit setup here. Those issues belong in different issue trackers.
What steps will reproduce the problem?
What is the expected output?
What do you see instead?
Please provide any additional information below.