From 3c602482b28aeb180e6b5e369a13bf5dea99cd6b Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 2 Nov 2023 09:04:03 +0100 Subject: [PATCH] limin max peers in both postgres and sqlite nodes This is aimed to narrow down the test environment and avoid interferences because we have different number of nodes sharing messages. --- docker/run_nwaku_store_postgres_ubuntu.sh | 2 +- docker/run_nwaku_store_sqlite_ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/run_nwaku_store_postgres_ubuntu.sh b/docker/run_nwaku_store_postgres_ubuntu.sh index fc197cf..3d112d7 100644 --- a/docker/run_nwaku_store_postgres_ubuntu.sh +++ b/docker/run_nwaku_store_postgres_ubuntu.sh @@ -40,7 +40,7 @@ echo "I am postgres ubuntu. Listening on: ${IP}" --metrics-server=True\ --metrics-server-port=8003\ --metrics-server-address=0.0.0.0\ - --max-connections=250\ + --max-connections=4\ --dns-discovery=true\ --discv5-discovery=true\ --discv5-enr-auto-update=True\ diff --git a/docker/run_nwaku_store_sqlite_ubuntu.sh b/docker/run_nwaku_store_sqlite_ubuntu.sh index ad4ce00..c47418d 100644 --- a/docker/run_nwaku_store_sqlite_ubuntu.sh +++ b/docker/run_nwaku_store_sqlite_ubuntu.sh @@ -40,7 +40,7 @@ echo "I am sqlite ubuntu. Listening on: ${IP}" --metrics-server=True\ --metrics-server-port=8004\ --metrics-server-address=0.0.0.0\ - --max-connections=250\ + --max-connections=4\ --dns-discovery=true\ --discv5-discovery=true\ --discv5-enr-auto-update=True\