Performance improvement in controller.

This commit is contained in:
Adam Ierymenko 2017-04-04 08:39:19 -07:00
parent b3298a8f57
commit cd050b3423

View File

@ -1076,8 +1076,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
testRec["clock"] = now;
testRec["uptime"] = (now - _startTime);
testRec["content"] = b;
_db.put("pong",testRec);
responseBody = OSUtils::jsonDump(testRec);
_db.writeRaw("pong",responseBody);
responseContentType = "application/json";
return 200;