1
0
Fork 0

Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into engine-vs-velocystream

This commit is contained in:
jsteemann 2016-08-25 10:41:09 +02:00
commit 22d3a1eb9a
2 changed files with 8 additions and 12 deletions

View File

@ -76,11 +76,11 @@ struct TRI_request_statistics_t {
#endif
}
double _readStart;
double _readEnd;
double _queueStart;
double _queueEnd;
double _requestStart;
double _readStart; // CommTask::processRead - read first byte of message
double _readEnd; // CommTask::processRead - message complete
double _queueStart; // addJob to queue GeneralServer::handleRequest
double _queueEnd; // exit queue DispatcherThread::handleJob
double _requestStart; // GeneralServerJob::work
double _requestEnd;
double _writeStart;
double _writeEnd;

View File

@ -24,12 +24,12 @@
#ifndef ARANGODB_REST_VPP_MESSAGE_H
#define ARANGODB_REST_VPP_MESSAGE_H 1
#include "Basics/StringBuffer.h"
#include <velocypack/Options.h>
#include <velocypack/Buffer.h>
#include <velocypack/Options.h>
#include <velocypack/Slice.h>
#include <velocypack/velocypack-aliases.h>
#include <iterator>
#include "Basics/StringBuffer.h"
namespace arangodb {
namespace rest {
@ -71,11 +71,7 @@ struct VppInputMessage {
return VPackSlice{};
}
std::vector<VPackSlice> const& payloads() const {
if (!_payload.empty()) {
return _payload;
}
}
std::vector<VPackSlice> const& payloads() const { return _payload; }
private:
VPackBuffer<uint8_t> _buffer;