Don't sleep after profile lookups if not needed

Mojang was sleeping even if we had no more requests to go after
the current one finished, resulting in 100ms lost per profile lookup
This commit is contained in:
Aikar
2018-10-23 21:14:03 -04:00
parent ebeba451f2
commit 6ca5deba8b
2 changed files with 35 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ done
# # group # lib # prefix # many files
# dont forget \ at end of each line but last
importLibrary com.mojang authlib com/mojang/authlib yggdrasil/YggdrasilGameProfileRepository.java
########################################################
########################################################