Browse Source

Performance improvement in controller.

pull/1/head
Adam Ierymenko 9 years ago
parent
commit
cd050b3423
  1. 2
      controller/EmbeddedNetworkController.cpp

2
controller/EmbeddedNetworkController.cpp

@ -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;

Loading…
Cancel
Save