Remove ticker as it is no longer necessary

This commit is contained in:
Elara 2022-12-13 10:24:15 -08:00
parent 817e183e58
commit 58c86d9070

View File

@ -78,8 +78,6 @@ func commentWorker(ctx context.Context, c *lemmy.WSClient, replyCh chan<- replyJ
repliedStore.Close() repliedStore.Close()
} }
ticker := time.NewTicker(10 * time.Second)
defer ticker.Stop()
for { for {
select { select {
case res := <-c.Responses(): case res := <-c.Responses():