Remove ticker as it is no longer necessary
This commit is contained in:
parent
817e183e58
commit
58c86d9070
2
main.go
2
main.go
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user