File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,15 @@ relay {
112
112
}
113
113
114
114
events {
115
- # Maximum size of normalised JSON, in bytes
116
- maxEventSize = 65536
115
+ # Maximum size of normalised JSON, in bytes One of the users we found was
116
+ # following 2546 users, and the JSON for that was 190k
117
+ # https://primal.net/p/npub1nlch0l8fj86x4ew2f5kxdn4q3vwmprkz0v7hsm9vcry62xee683qmqq7ay
118
+ # Explore the followers DB periodically to find the largest user, compare
119
+ # that with other services and check if the limits are still reasonable
120
+ # If you change this, ensure it aligns to events relay filters:
121
+ # https://github.com/planetary-social/nos-event-service/blob/e7aacd5d402f9cd8be8aee7ad64e3ed211357f31/service/app/handler_process_saved_event.go#L21-L26
122
+
123
+ maxEventSize = 262144
117
124
118
125
# Events newer than this will be rejected
119
126
rejectEventsNewerThanSeconds = 900
@@ -128,7 +135,7 @@ events {
128
135
ephemeralEventsLifetimeSeconds = 300
129
136
130
137
# Maximum number of tags allowed
131
- maxNumTags = 2000
138
+ maxNumTags = 3000
132
139
133
140
# Maximum size for tag values, in bytes
134
141
maxTagValSize = 1024
You can’t perform that action at this time.
0 commit comments