Lightweight server monitoring with historical data, docker stats, and alerts.
hub: raise max batch requests and lower max batch body size
henrygda0bf33879605
diff --git a/internal/hub/hub.go b/internal/hub/hub.goindex 13cd7e6a1..30548cf2d 100644--- a/internal/hub/hub.go+++ b/internal/hub/hub.go@@ -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 setif appURL, isSet := utils.GetEnv("APP_URL"); isSet {h.appURL = appURL