зеркало из https://github.com/microsoft/CCF.git
forward --san (#2267)
Co-authored-by: Amaury Chamayou <amchamay@microsoft.com>
This commit is contained in:
Родитель
9efeccac03
Коммит
53729068dc
|
@ -79,6 +79,7 @@ class Network:
|
|||
"worker_threads",
|
||||
"ledger_chunk_bytes",
|
||||
"domain",
|
||||
"san",
|
||||
"snapshot_tx_interval",
|
||||
"jwt_key_refresh_interval_s",
|
||||
"common_read_only_ledger_dir",
|
||||
|
|
|
@ -575,6 +575,7 @@ class CCFRemote(object):
|
|||
binary_dir=".",
|
||||
ledger_chunk_bytes=(5 * 1000 * 1000),
|
||||
domain=None,
|
||||
san=None,
|
||||
snapshot_tx_interval=None,
|
||||
jwt_key_refresh_interval_s=None,
|
||||
):
|
||||
|
@ -660,6 +661,9 @@ class CCFRemote(object):
|
|||
if domain:
|
||||
cmd += [f"--domain={domain}"]
|
||||
|
||||
if san:
|
||||
cmd += [f"--san={s}" for s in san]
|
||||
|
||||
if snapshot_tx_interval:
|
||||
cmd += [f"--snapshot-tx-interval={snapshot_tx_interval}"]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче