diff --git a/roles/setup_install_polkadot/templates/polkadot_endpoint.service.j2 b/roles/setup_install_polkadot/templates/polkadot_endpoint.service.j2 index 5fdb8f8..e00e9b2 100644 --- a/roles/setup_install_polkadot/templates/polkadot_endpoint.service.j2 +++ b/roles/setup_install_polkadot/templates/polkadot_endpoint.service.j2 @@ -28,7 +28,11 @@ ExecStart={{ default_base_path }}/polkadot \ --rpc-external \ --rpc-methods safe \ --rpc-cors all \ - --rpc-max-connections 1200 \ + --max-runtime-instances 32 \ + --rpc-max-request-size 16 \ + --rpc-max-response-size 16 \ + --rpc-max-subscriptions-per-connection 512 \ + --rpc-max-connections 10000 \ --allow-private-ipv4 Restart=always