We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d88f49 commit 43bf0f9Copy full SHA for 43bf0f9
settings.sample.json
@@ -6,6 +6,10 @@
6
"pubkey": "replace-with-your-pubkey",
7
"contact": "[email protected]"
8
},
9
+ "network": {
10
+ "max_payload_size": 131072,
11
+ "remote_ip_header": "x-forwarded-for"
12
+ },
13
"workers": {
14
"count": 0
15
src/@types/settings.ts
@@ -9,6 +9,11 @@ export interface Info {
contact?: string
}
+export interface Network {
+ max_payload_size?: number
+ remote_ip_header?: string
+}
16
+
17
export interface EventIdLimits {
18
minLeadingZeroBits?: number
19
@@ -87,6 +92,7 @@ export interface Worker {
87
92
88
93
export interface ISettings {
89
94
info: Info
95
+ network?: Network
90
96
workers?: Worker
91
97
limits?: Limits
98
0 commit comments