Skip to content

Commit

Permalink
node: lower max-relay-peers to 200
Browse files Browse the repository at this point in the history
Given that max p2p connections is 300, with max allowed relay conns
we will have 100 for other protocols such as store, lightpush, etc.

Co-authored-by: Jakub <[email protected]>
  • Loading branch information
Ivansete-status and jakubgs committed Sep 11, 2024
1 parent 9dab86b commit e9ef60b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ansible/group_vars/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ nim_waku_rpc_tcp_port: 8545

# Limits
nim_waku_p2p_max_connections: 300
# Lower limit than max conns to allow space for other protocol and Waku canary.
nim_waku_max_relay_peers: '{{ nim_waku_p2p_max_connections - 100 }}'

# Store
nim_waku_store_message_db_name: 'nim-waku'
Expand Down
2 changes: 1 addition & 1 deletion ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

- name: infra-role-nim-waku
src: [email protected]:status-im/infra-role-nim-waku.git
version: 3183cb517fce8767cc4aff27bf0a9275bb0907b9
version: d11ffbb1b4ba974446dc998658ed664586713139

- name: infra-role-postgres-ha
src: [email protected]:status-im/infra-role-postgres-ha.git
Expand Down

0 comments on commit e9ef60b

Please sign in to comment.