Commit f6b96c33 authored by legoc's avatar legoc
Browse files

Removed time for getting the data.

parent db26acd0
......@@ -138,16 +138,10 @@ public class ServantManagerAccessor {
.setDatabaseID(databaseID)
.build();
Date d1 = new Date();
servantManagerRequester.sendTwoParts(type.toByteArray(), request.toByteArray());
try {
byte[] data = servantManagerRequester.receive();
Date d2 = new Date();
System.out.println("Received and parsed whole configuration " + data.length + " in " + (d2.getTime() - d1.getTime()) + "ms");
ServantData response = ServantData.parseFrom(data);
ServantData response = ServantData.parseFrom(servantManagerRequester.receive());
return response;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment