You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2021/07/11 15:56:00 UTC

[jira] [Assigned] (SSHD-1193) Display AuthTimeOut in more user-friendly format

     [ https://issues.apache.org/jira/browse/SSHD-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lyor Goldstein reassigned SSHD-1193:
------------------------------------

    Assignee: Lyor Goldstein

> Display AuthTimeOut in more user-friendly format
> ------------------------------------------------
>
>                 Key: SSHD-1193
>                 URL: https://issues.apache.org/jira/browse/SSHD-1193
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.7.0
>            Reporter: Susmit Sarkar
>            Assignee: Lyor Goldstein
>            Priority: Minor
>         Attachments: image-2021-07-11-17-36-38-697.png
>
>
> Hello Team,
>  
> !image-2021-07-11-17-36-38-697.png!
> We upgraded to 2.7.0 and the authtimeout is not coming in readable format, previously it was 12000 ms but now its in PT2M
> Code changes done
> {code:java}
> // code placeholder
> private void setIdleTimeOut() {private void setIdleTimeOut() { Duration timeOut = CoreModuleProperties.IDLE_TIMEOUT.getRequiredDefault(); if (config.getIdleConnectionTimeoutMinutes() > 0) { timeOut = Duration.ofMillis(config.getIdleConnectionTimeoutMinutes() * 1000 * 60); CoreModuleProperties.IDLE_TIMEOUT.set(sshd, timeOut); }  }
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org