From edb3bdf1b53ebb74bcbd64f13ab400a1bf023757 Mon Sep 17 00:00:00 2001 From: jakopako Date: Thu, 2 Jan 2025 12:04:04 +0100 Subject: [PATCH] increased api writer timeout --- output/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/api.go b/output/api.go index 173fcee..0b4e0d1 100644 --- a/output/api.go +++ b/output/api.go @@ -28,7 +28,7 @@ func NewAPIWriter(wc *WriterConfig) *APIWriter { func (f *APIWriter) Write(items chan map[string]interface{}) { logger := slog.With(slog.String("writer", API_WRITER_TYPE)) client := &http.Client{ - Timeout: time.Second * 10, + Timeout: time.Second * 60, } apiURL := f.writerConfig.Uri apiUser := f.writerConfig.User