From 58c86d9070109edfb0b853dde0f97fa6c5ecf251 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Tue, 13 Dec 2022 10:24:15 -0800 Subject: [PATCH] Remove ticker as it is no longer necessary --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 3bd7217..639ad6b 100644 --- a/main.go +++ b/main.go @@ -78,8 +78,6 @@ func commentWorker(ctx context.Context, c *lemmy.WSClient, replyCh chan<- replyJ repliedStore.Close() } - ticker := time.NewTicker(10 * time.Second) - defer ticker.Stop() for { select { case res := <-c.Responses():