Changed the type of two options into float
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ define('origin', default='same', help='''Origin policy,
|
|||||||
'<domains>': custom domains policy, matches any domain in the <domains> list
|
'<domains>': custom domains policy, matches any domain in the <domains> list
|
||||||
separated by comma;
|
separated by comma;
|
||||||
'*': wildcard policy, matches any domain, allowed in debug mode only.''')
|
'*': wildcard policy, matches any domain, allowed in debug mode only.''')
|
||||||
define('wpintvl', type=int, default=0, help='Websocket ping interval')
|
define('wpintvl', type=float, default=0, help='Websocket ping interval')
|
||||||
define('timeout', type=int, default=3, help='SSH connection timeout')
|
define('timeout', type=float, default=3, help='SSH connection timeout')
|
||||||
define('delay', type=float, default=3, help='The delay to call recycle_worker')
|
define('delay', type=float, default=3, help='The delay to call recycle_worker')
|
||||||
define('maxconn', type=int, default=20,
|
define('maxconn', type=int, default=20,
|
||||||
help='Maximum live connections (ssh sessions) per client')
|
help='Maximum live connections (ssh sessions) per client')
|
||||||
|
|||||||
Reference in New Issue
Block a user