Removed the message size limit from ws-test dial
This commit is contained in:
1 parent
0e27d2b2f3
commit
aa06b94870
2 files changed
+38
No files matched your search
@@ -344,6 +344,9 @@ func connect(
|
||||
}
|
||||
return nil, fmt.Errorf("dialling %s: %w", settings.url, err)
|
||||
}
|
||||
// dial shows whatever the server sends, and an event can be large (one
|
||||
// after a catch-up lists every new opportunity), so there's no limit.
|
||||
conn.SetReadLimit(-1)
|
||||
fmt.Fprintf(out, "connected (%s)\n", res.Status) //nolint:errcheck // printing only
|
||||
|
||||
return conn, nil
|
||||
|
||||
Reference in new issue
Block a user