hub: raise max batch requests and lower max batch body size

This commit is contained in:
henrygd
2026-09-16 19:39:07 -04:00
parent 982101743e
commit a0bf338796
+2
View File
@@ -122,6 +122,8 @@ func (h *Hub) initialize(app core.App) error {
settings := app.Settings()
// batch requests (for alerts)
settings.Batch.Enabled = true
settings.Batch.MaxRequests = 100
settings.Batch.MaxBodySize = 1 << 20 // 1 MiB
// set URL if APP_URL env is set
if appURL, isSet := utils.GetEnv("APP_URL"); isSet {
h.appURL = appURL