2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-06-24 03:46:43 +00:00

Make use of Bungee scheduler for threaded operations.

This commit is contained in:
md_5
2014-07-02 16:38:04 +10:00
parent 718b020bf2
commit f9180dfb8d
2 changed files with 3 additions and 7 deletions
@@ -46,7 +46,7 @@ class UUIDFetcher implements Callable<Map<String, UUID>> {
uuidMap.put(profile.name, uuid);
}
if (rateLimiting && i != requests - 1) {
Thread.sleep(100L);
Thread.sleep(100L); // FIXME: This is not how we into concurrency
}
}
return uuidMap;