fix: increase MaxMessageSize to 16 MiB (#24599)

This commit is contained in:
Jon Ayers
2026-05-06 10:12:56 -05:00
committed by GitHub
parent 1e5f1d3206
commit 2cab1b41ad
4 changed files with 92 additions and 10 deletions
+6 -3
View File
@@ -739,9 +739,12 @@ func (m *mapper) run() {
m.logger.Debug(m.ctx, "skipping nil node update")
continue
}
if err := m.c.Enqueue(update); err != nil {
// lots of reasons this could happen, most usually, the peer has disconnected.
m.logger.Debug(m.ctx, "failed to enqueue node update", slog.Error(err))
for _, chunk := range update.Chunked() {
if err := m.c.Enqueue(chunk); err != nil {
// lots of reasons this could happen, most usually, the peer has disconnected.
m.logger.Debug(m.ctx, "failed to enqueue chunk", slog.Error(err))
break
}
}
}
}