From dd3d5b49d955f929304d69a8129c3d1cd1a27d90 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 29 Dec 2023 20:45:41 +0000
Subject: [PATCH] Remove obnoxious log

---
 http/ingest.go | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/http/ingest.go b/http/ingest.go
index 9882166..4226413 100644
--- a/http/ingest.go
+++ b/http/ingest.go
@@ -130,17 +130,13 @@ func (s *IngestServer) IngestHandler(w http.ResponseWriter, req *http.Request) {
 		return
 	}
 
-	n, err := s.ingestBatch(req.Body)
+	_, err := s.ingestBatch(req.Body)
 	if err != nil {
 		log.Printf("ingestion error: %v", err)
 		http.Error(w, err.Error(), http.StatusInternalServerError)
 		return
 	}
 
-	if n > 0 {
-		log.Printf("received %d records", n)
-	}
-
 	w.WriteHeader(http.StatusAccepted)
 }
 
-- 
GitLab