Remove note regarding async inserts - Vert.x's CompositeFuture's methods don't allow clean integration, and it isn't worth the development time to adapt it.
This commit is contained in:
parent
86a7504af6
commit
2eeabf7ef8
@ -38,7 +38,6 @@ public final class V2Importer {
|
|||||||
Future<Void> grantsFuture = Future.future();
|
Future<Void> grantsFuture = Future.future();
|
||||||
Future<Void> ipLogFuture = Future.future();
|
Future<Void> ipLogFuture = Future.future();
|
||||||
|
|
||||||
// TODO: SEE ABOUT DOING INSERTS ASYNC
|
|
||||||
importFrom.getCollection("punishment").find().forEach(new PunishmentConverter(oidToUniqueId), new FutureCompatibilityCallback<>(punishmentsFuture));
|
importFrom.getCollection("punishment").find().forEach(new PunishmentConverter(oidToUniqueId), new FutureCompatibilityCallback<>(punishmentsFuture));
|
||||||
importFrom.getCollection("grant").find().forEach(new GrantConverter(oidToUniqueId), new FutureCompatibilityCallback<>(grantsFuture));
|
importFrom.getCollection("grant").find().forEach(new GrantConverter(oidToUniqueId), new FutureCompatibilityCallback<>(grantsFuture));
|
||||||
importFrom.getCollection("iplog").find().forEach(new IpLogConverter(oidToUniqueId), new FutureCompatibilityCallback<>(ipLogFuture));
|
importFrom.getCollection("iplog").find().forEach(new IpLogConverter(oidToUniqueId), new FutureCompatibilityCallback<>(ipLogFuture));
|
||||||
|
Loading…
Reference in New Issue
Block a user