@@ -41,7 +41,7 @@ relay {
41
41
}
42
42
43
43
# Maximum accepted incoming websocket frame size (should be larger than max event and yesstr msg) (restart required)
44
- maxWebsocketPayloadSize = 131072
44
+ maxWebsocketPayloadSize = 262144
45
45
46
46
# Websocket-level PING message frequency (should be less than any reverse proxy idle timeouts) (restart required)
47
47
autoPingSeconds = 55
@@ -97,10 +97,7 @@ relay {
97
97
98
98
# reqMonitor threads: Handle filtering of new events (restart required)
99
99
reqMonitor = 3
100
-
101
- # yesstr threads: Experimental yesstr protocol (restart required)
102
- yesstr = 1
103
- }
100
+ }
104
101
105
102
negentropy {
106
103
# Support negentropy protocol messages
@@ -112,15 +109,16 @@ relay {
112
109
}
113
110
114
111
events {
115
- # Maximum size of normalised JSON, in bytes One of the users we found was
112
+ # One of the users we found was
116
113
# following 2546 users, and the JSON for that was 190k
117
114
# https://primal.net/p/npub1nlch0l8fj86x4ew2f5kxdn4q3vwmprkz0v7hsm9vcry62xee683qmqq7ay
118
115
# Explore the followers DB periodically to find the largest user, compare
119
116
# that with other services and check if the limits are still reasonable
120
117
# If you change this, ensure it aligns to events relay filters:
121
118
# https://github.com/planetary-social/nos-event-service/blob/e7aacd5d402f9cd8be8aee7ad64e3ed211357f31/service/app/handler_process_saved_event.go#L21-L26
122
119
123
- maxEventSize = 262144
120
+ # Maximum size of normalised JSON, in bytes
121
+ maxEventSize = 196608
124
122
125
123
# Events newer than this will be rejected
126
124
rejectEventsNewerThanSeconds = 900
0 commit comments