This commit is contained in:
Michael Zhang 2020-10-12 01:22:03 -05:00
parent f7a19636e2
commit 9d24724eb9
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -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 // wait a minute and put them back into the queue
go func() { go func(id int) {
time.Sleep(refreshInterval) time.Sleep(refreshInterval)
requests <- userId requests <- id
}() }(userId)
} }
} }