mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 00:40:49 +00:00
Performance improvement in controller.
This commit is contained in:
parent
b3298a8f57
commit
cd050b3423
@ -1076,8 +1076,8 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
|
|||||||
testRec["clock"] = now;
|
testRec["clock"] = now;
|
||||||
testRec["uptime"] = (now - _startTime);
|
testRec["uptime"] = (now - _startTime);
|
||||||
testRec["content"] = b;
|
testRec["content"] = b;
|
||||||
_db.put("pong",testRec);
|
|
||||||
responseBody = OSUtils::jsonDump(testRec);
|
responseBody = OSUtils::jsonDump(testRec);
|
||||||
|
_db.writeRaw("pong",responseBody);
|
||||||
responseContentType = "application/json";
|
responseContentType = "application/json";
|
||||||
return 200;
|
return 200;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user