From df2fdc970b345ccb75d71a34543af0e31693ae8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rudowicz?= Date: Tue, 12 Mar 2024 16:56:52 +0100 Subject: [PATCH] Revert "Force GC when each event is at the end of its path" This reverts commit c5efc28c82babd2a5a1f6b60fb6bf50a5c4277db. --- sender_worker.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/sender_worker.go b/sender_worker.go index 5e156b4..477db87 100644 --- a/sender_worker.go +++ b/sender_worker.go @@ -5,7 +5,6 @@ import ( "log" "net/http" "os" - "runtime" "sync" "git.sr.ht/~michalr/go-satel" @@ -26,7 +25,6 @@ type Sleeper interface { func Consume(events <-chan GenericMessage) { go func() { for range events { - runtime.GC() } }() }