[
https://issues.apache.org/jira/browse/SSHD-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204704#comment-16204704
]
none edited comment on SSHD-778 at 10/14/17 4:03 PM:
-----------------------------------------------------
Oh so i can do
getProperties().put(DEFAULT_WAIT_FOR_SPACE_TIMEOUT,
String.valueOf(SECONDS.toMillis(rekeyTimeLimit)));
something like that and it will work?
https://github.com/GerritCodeReview/gerrit/blob/9fa99e8bd591885f6059747e4886af5e6e69ae0c/gerrit-sshd/src/main/java/com/google/gerrit/sshd/SshDaemon.java
was (Author: paladox):
Oh so i can do
getProperties().put(DEFAULT_WAIT_FOR_SPACE_TIMEOUT,
String.valueOf(SECONDS.toMillis(rekeyTimeLimit)));
something like that and it will work?
> Allow overiding WAIT_FOR_SPACE_TIMEOUT and DEFAULT_WAIT_FOR_SPACE_TIMEOUT
> default setting
> -----------------------------------------------------------------------------------------
>
> Key: SSHD-778
> URL: https://issues.apache.org/jira/browse/SSHD-778
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.6.0
> Reporter: none
> Assignee: Goldstein Lyor
> Labels: sshd
> Fix For: 1.4.0
>
>
> Hi, could the ability to overide the defaults for
> DEFAULT_WAIT_FOR_SPACE_TIMEOUT and WAIT_FOR_SPACE_TIMEOUT be supported please?
> This would allow a project like gerrit to set it's own default but also allow
> users to set it's own too.
> These constants should be moved to the FactoryManager.
> See https://bugs.chromium.org/p/gerrit/issues/detail?id=7425
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)