Changed the type of two options into float

pull/209/head
Sheng 2020-10-07 20:36:43 +08:00
parent d54f5b547a
commit 7b8f473ba6
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ define('origin', default='same', help='''Origin policy,
'<domains>': custom domains policy, matches any domain in the <domains> list
separated by comma;
'*': wildcard policy, matches any domain, allowed in debug mode only.''')
define('wpintvl', type=int, default=0, help='Websocket ping interval')
define('timeout', type=int, default=3, help='SSH connection timeout')
define('wpintvl', type=float, default=0, help='Websocket ping interval')
define('timeout', type=float, default=3, help='SSH connection timeout')
define('delay', type=float, default=3, help='The delay to call recycle_worker')
define('maxconn', type=int, default=20,
help='Maximum live connections (ssh sessions) per client')