From 708d1999dfe210a7c94c8fbd8cfe33cb1502eb6d Mon Sep 17 00:00:00 2001 From: Nguyen Sy Thanh Son Date: Mon, 26 Nov 2018 15:57:59 +0700 Subject: [PATCH] tmp decrease maxpeers 50 to save CPUs also add txpool limit --- docker/tomochain/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/tomochain/entrypoint.sh b/docker/tomochain/entrypoint.sh index 3cfe9140d8..5da24e3488 100755 --- a/docker/tomochain/entrypoint.sh +++ b/docker/tomochain/entrypoint.sh @@ -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 \