mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Performance improvement in controller.
This commit is contained in:
parent
b3298a8f57
commit
cd050b3423
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue