upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/configuration.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md
index c3001d3..c1cb712 100644
--- a/docs/reference/configuration.md
+++ b/docs/reference/configuration.md
@@ -931,17 +931,17 @@ Event blacklist does **not** affect NIP-11 metadata:
931 931
932**Description:** Maximum total connections to the relay. Prevents connection exhaustion DoS attacks. 932**Description:** Maximum total connections to the relay. Prevents connection exhaustion DoS attacks.
933**Type:** Integer 933**Type:** Integer
934**Default:** `500` 934**Default:** `4096`
935**Required:** No 935**Required:** No
936 936
937**Examples:** 937**Examples:**
938 938
939```bash 939```bash
940# Default: 500 connections 940# Default: 4096 connections
941NGIT_MAX_CONNECTIONS=500 941NGIT_MAX_CONNECTIONS=4096
942 942
943# Higher limit for large public relay 943# Higher limit for large public relay
944NGIT_MAX_CONNECTIONS=1000 944NGIT_MAX_CONNECTIONS=8000
945 945
946# Lower limit for private relay 946# Lower limit for private relay
947NGIT_MAX_CONNECTIONS=100 947NGIT_MAX_CONNECTIONS=100