diff --git a/roles/setup_install_polkadot/templates/validator.service.j2 b/roles/setup_install_polkadot/templates/validator.service.j2 index 30658bd..10cad42 100644 --- a/roles/setup_install_polkadot/templates/validator.service.j2 +++ b/roles/setup_install_polkadot/templates/validator.service.j2 @@ -26,14 +26,18 @@ ExecStart={{ default_base_path }}/polkadot \ --telemetry-url 'wss://telemetry-backend.w3f.community/submit 1' \ --rpc-port {{ default_rpc_port }} \ --listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port }} \ - --listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port_ws }}/ws \ +# --listen-addr /ip4/0.0.0.0/tcp/{{ default_p2p_port_ws }}/ws \ --public-addr /ip4/{{ ansible_host }}/tcp/{{ default_p2p_port }} \ - --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port }} \ - --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port_wss }}/wss \ +# --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port }} \ +# --public-addr /dns/{{ host_name }}/tcp/{{ default_p2p_port_wss }}/wss \ --prometheus-port {{ default_prom_port }} \ --prometheus-external \ --wasm-execution compiled \ --pruning 1000 \ + --no-mdns \ + --no-private-ip \ + --out-peers 64 \ + --in-peers 64 \ --workers-path {{ default_auxiliary_binary_path }} \ --db-cache {{ ansible_memtotal_mb // 2 }} \ --sync {{ default_syncmode }}