Skip to content

Commit

Permalink
add some rpc param in yaml's cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Sep 27, 2024
1 parent 07de3ce commit 998637f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube/manifest/starcoin-halley.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
if [ ! -z $node_key ]; then
node_key_flag="--node-key ${node_key}";
fi;
/starcoin/starcoin -n halley -d /sc-data --discover-local=true $node_key_flag;
/starcoin/starcoin -n halley -d /sc-data --p2prpc-default-global-api-quota 9000/s --p2prpc-custom-user-api-quota get_header_by_hash=9000/s --p2prpc-custom-user-api-quota get_headers_by_hash=9000/s --p2prpc-custom-user-api-quota info=9000/s --p2prpc-custom-user-api-quota get_block_by_hash=9000/s --p2prpc-custom-user-api-quota get_block_ids=9000/s --p2prpc-custom-user-api-quota get_blocks=9000/s --jsonrpc-default-global-api-quota 9000/s --jsonrpc-custom-user-api-quota chain.get_headers_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.get_header_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.info=9000/s --jsonrpc-custom-user-api-quota chain.get_block_by_hash=9000/s --jsonrpc-custom-user-api-quota chain.get_block_ids=9000/s --jsonrpc-custom-user-api-quota chain.get_blocks=9000/s --min-peers-to-propagate 512 --max-peers-to-propagate 1024 --max-outgoing-peers 512 --max-incoming-peers 512 --discover-local=true $node_key_flag;
ret=$?;
if [ $ret -ne 0 ]; then
echo "Node start fail, try to remove config and data.";
Expand Down

0 comments on commit 998637f

Please sign in to comment.