1
0
Fork 0

Revert "Force GC when each event is at the end of its path"

This reverts commit c5efc28c82.
This commit is contained in:
Michał Rudowicz 2024-03-12 16:56:52 +01:00
parent c5efc28c82
commit df2fdc970b
1 changed files with 0 additions and 2 deletions

View File

@ -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()
}
}()
}