Skip to content

Commit

Permalink
Changed the type of two options into float
Browse files Browse the repository at this point in the history
  • Loading branch information
huashengdun committed Oct 7, 2020
1 parent d54f5b5 commit 7b8f473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webssh/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def print_version(flag):
'<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')
Expand Down

0 comments on commit 7b8f473

Please sign in to comment.