various improvements around testing

This commit is contained in:
CJ Cobb
2021-04-28 20:27:52 +00:00
parent 5f9e5d03f4
commit b734884f20
6 changed files with 669 additions and 207 deletions

View File

@@ -224,7 +224,10 @@ public:
BOOST_LOG_TRIVIAL(debug) << " received request : " << request;
try
{
auto start = std::chrono::system_clock::now();
response = buildResponse(request, backend_);
auto end = std::chrono::system_clock::now();
BOOST_LOG_TRIVIAL(info) << __func__ << " RPC call took " << ((end - start).count() / 1000000000.0) << " . request = " << request;
}
catch (Backend::DatabaseTimeout const& t)
{