Skip to content

Commit

Permalink
tmp decrease maxpeers 50 to save CPUs
Browse files Browse the repository at this point in the history
also add txpool limit
  • Loading branch information
thanhson1085 authored Nov 26, 2018
1 parent ce00db4 commit 708d199
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/tomochain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ exec tomo $params \
--identity $IDENTITY \
--password ./password \
--port 30303 \
--maxpeers 200 \
--maxpeers 50 \
--txpool.globalqueue 5000 \
--txpool.globalslots 5000 \
--rpc \
--rpccorsdomain "*" \
--rpcaddr 0.0.0.0 \
Expand Down

0 comments on commit 708d199

Please sign in to comment.