asdf
This commit is contained in:
parent
f7a19636e2
commit
9d24724eb9
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue