Mercurial > libervia-web
diff 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 |
line wrap: on
line diff
--- a/twisted/plugins/libervia_server.py Fri Nov 20 17:55:21 2020 +0100 +++ b/twisted/plugins/libervia_server.py Fri Nov 20 18:02:43 2020 +0100 @@ -131,6 +131,8 @@ ['base_url_ext', '', '', _('The external URL to use as base URL'), coerceUnicode], + ['bridge-retries', '', 10, + _('Number of tries to connect to bridge before giving up'), int], ] # Options which are in sat.conf only