mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-09 15:49:56 +02:00
increase websocket message limit to an absurd of 33MB.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user