docs: ressurect IdleTimeLimit

This reverts commit 513f767996.
This commit is contained in:
Koichiro IWAO 2018-10-10 17:47:12 +09:00
parent 6049cf8dad
commit f84f3de478
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB
2 changed files with 13 additions and 0 deletions

View File

@ -134,6 +134,12 @@ Sets the maximum number of simultaneous sessions. If not set or set to
If set to \fB1\fR, \fBtrue\fR or \fByes\fR, every session will be killed
within 60 seconds after the user disconnects.
.TP
\fBIdleTimeLimit\fR=\fInumber\fR
\fI\This option is currently ignored!\fR Time limit before an idle
session is disconnected. If set to \fI0\fR, automatic disconnection is
disabled.
.TP
\fBDisconnectedTimeLimit\fR=\fInumber\fR
Sets the time limit (in seconds) before a disconnected session is killed.

View File

@ -37,6 +37,13 @@ MaxSessions=50
; if 1, true, or yes, kill session after 60 seconds
KillDisconnected=false
;; IdleTimeLimit - when to disconnect idle sessions
; Type: integer
; Default: 0
; if not zero, the seconds without mouse or keyboard input before disconnect
; not complete yet
IdleTimeLimit=0
;; DisconnectedTimeLimit - when to kill idle sessions
; Type: integer
; Default: 0