Skip to content

Commit

Permalink
Merge pull request #149 from jens-mp/default-settings-for-idunion
Browse files Browse the repository at this point in the history
Adjust client connection limit to match IDunion's defaults
  • Loading branch information
Echsecutor authored Dec 13, 2024
2 parents 8e4db4f + 832f81e commit 2926cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion run/etc_indy/indy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# For running indy >= 1.13 in a legacy network (i.e. including revocation transactions written by indy nodes < 1.13)
REV_STRATEGY_USE_COMPAT_ORDERING=True

MAX_CONNECTED_CLIENTS_NUM=1600
MAX_CONNECTED_CLIENTS_NUM=2200

## Logging
# 0 means everything
Expand Down
4 changes: 2 additions & 2 deletions run/set_iptables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ echo "INTERNAL_PORT=${INTERNAL_PORT:=9701}"
echo "CLI_PORT=${CLI_PORT:=9702}"
echo "CLI_PORT_PROTECTION_SCRIPT=${CLI_PORT_PROTECTION_SCRIPT:=./add_ddos_protection_iptables_rule.sh}"
echo "CHAIN=${CHAIN:=DOCKER-USER}"
echo "OVER_ALL_CONN_LIMIT=${OVER_ALL_CONN_LIMIT:=1500}"
echo "OVER_ALL_CONN_LIMIT=${OVER_ALL_CONN_LIMIT:=2000}"
echo "CONN_LIMIT_PER_IP=${CONN_LIMIT_PER_IP:=10}"
echo "CONN_RATE_LIMIT_LIMIT=${CONN_RATE_LIMIT_LIMIT:=50}"
echo "CONN_RATE_LIMIT_LIMIT=${CONN_RATE_LIMIT_LIMIT:=0}"
echo "CONN_RATE_LIMIT_PERIOD=${CONN_RATE_LIMIT_PERIOD:=60}"


Expand Down

0 comments on commit 2926cd5

Please sign in to comment.