Mercurial > libervia-web
comparison twisted/plugins/libervia_server.py @ 1367:ce5cfe004d4e
server: new `--bridge-retries` option:
If bridge connection fails, it will be retried for the specified number of time (default
to 10) before giving up. Each try is spaced by 1 second.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Nov 2020 18:02:43 +0100 |
parents | f61e95438050 |
children | 9624c2a89a92 |
comparison
equal
deleted
inserted
replaced
1366:f61e95438050 | 1367:ce5cfe004d4e |
---|---|
129 ['allow_registration', '', True, _('Allow user to register new ' | 129 ['allow_registration', '', True, _('Allow user to register new ' |
130 'account'), coerceBool], | 130 'account'), coerceBool], |
131 ['base_url_ext', '', '', | 131 ['base_url_ext', '', '', |
132 _('The external URL to use as base URL'), | 132 _('The external URL to use as base URL'), |
133 coerceUnicode], | 133 coerceUnicode], |
134 ['bridge-retries', '', 10, | |
135 _('Number of tries to connect to bridge before giving up'), int], | |
134 ] | 136 ] |
135 | 137 |
136 # Options which are in sat.conf only | 138 # Options which are in sat.conf only |
137 OPT_PARAMETERS_CFG = [ | 139 OPT_PARAMETERS_CFG = [ |
138 ["empty_password_allowed_warning_dangerous_list", None, "", None], | 140 ["empty_password_allowed_warning_dangerous_list", None, "", None], |