Add note to V2Importer regarding possible future optimization

This commit is contained in:
Colin McDonald 2016-06-21 17:02:20 -04:00
parent a0188e2d8c
commit d261ef507a

View File

@ -38,6 +38,7 @@ 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));