Rate limit
This commit is contained in:
parent
ead6ae3397
commit
9a0508b389
@ -80,6 +80,7 @@ class ImportUsers(
|
|||||||
val bannedUsersCondition = SCORES.IS_BANNED.eq(true)
|
val bannedUsersCondition = SCORES.IS_BANNED.eq(true)
|
||||||
|
|
||||||
val usersResult = this.osuApi.getUsersBatch(userIds)
|
val usersResult = this.osuApi.getUsersBatch(userIds)
|
||||||
|
Thread.sleep(SLEEP_AFTER_API_CALL)
|
||||||
|
|
||||||
if (usersResult == null) {
|
if (usersResult == null) {
|
||||||
this.logger.error("Failed to get users")
|
this.logger.error("Failed to get users")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user