increase websocket message limit to an absurd of 33MB.

This commit is contained in:
fiatjaf 2025-02-12 15:41:52 -03:00
parent e0ed40613d
commit 1f36d7a9f1

View File

@ -22,7 +22,7 @@ func NewConnection(ctx context.Context, url string, requestHeader http.Header, t
return nil, err
}
c.SetReadLimit(262144) // this should be enough for contact lists of over 2000 people
c.SetReadLimit(2 << 24) // 33MB
return &Connection{
conn: c,