Removed the message size limit from ws-test dial

This commit is contained in:
bwilliams committed 2026-10-16 15:23:49 +01:00
1 parent 0e27d2b2f3
commit aa06b94870
2 files changed
+38

No files matched your search

+3
View File
@@ -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