mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
increase websocket message limit to an absurd of 33MB.
This commit is contained in:
parent
e0ed40613d
commit
1f36d7a9f1
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user