From 9d24724eb90eb5108b96f435b18bf1d1a0e0eac6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 12 Oct 2020 01:22:03 -0500 Subject: [PATCH] asdf --- scrape.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrape.go b/scrape.go index 015444a..7fff65f 100644 --- a/scrape.go +++ b/scrape.go @@ -28,10 +28,10 @@ func RunScraper(bot *Bot, db *Db, api *Osuapi, requests chan int) { }) // wait a minute and put them back into the queue - go func() { + go func(id int) { time.Sleep(refreshInterval) - requests <- userId - }() + requests <- id + }(userId) } }