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:
Colin McDonald 2016-06-23 00:52:42 -04:00
parent 86a7504af6
commit 2eeabf7ef8

View File

@ -38,7 +38,6 @@ public final class V2Importer {
Future<Void> grantsFuture = 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("grant").find().forEach(new GrantConverter(oidToUniqueId), new FutureCompatibilityCallback<>(grantsFuture));
importFrom.getCollection("iplog").find().forEach(new IpLogConverter(oidToUniqueId), new FutureCompatibilityCallback<>(ipLogFuture));