mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into engine-vs-velocystream
This commit is contained in:
commit
22d3a1eb9a
|
@ -76,11 +76,11 @@ struct TRI_request_statistics_t {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
double _readStart;
|
double _readStart; // CommTask::processRead - read first byte of message
|
||||||
double _readEnd;
|
double _readEnd; // CommTask::processRead - message complete
|
||||||
double _queueStart;
|
double _queueStart; // addJob to queue GeneralServer::handleRequest
|
||||||
double _queueEnd;
|
double _queueEnd; // exit queue DispatcherThread::handleJob
|
||||||
double _requestStart;
|
double _requestStart; // GeneralServerJob::work
|
||||||
double _requestEnd;
|
double _requestEnd;
|
||||||
double _writeStart;
|
double _writeStart;
|
||||||
double _writeEnd;
|
double _writeEnd;
|
||||||
|
|
|
@ -24,12 +24,12 @@
|
||||||
#ifndef ARANGODB_REST_VPP_MESSAGE_H
|
#ifndef ARANGODB_REST_VPP_MESSAGE_H
|
||||||
#define ARANGODB_REST_VPP_MESSAGE_H 1
|
#define ARANGODB_REST_VPP_MESSAGE_H 1
|
||||||
|
|
||||||
#include "Basics/StringBuffer.h"
|
|
||||||
#include <velocypack/Options.h>
|
|
||||||
#include <velocypack/Buffer.h>
|
#include <velocypack/Buffer.h>
|
||||||
|
#include <velocypack/Options.h>
|
||||||
#include <velocypack/Slice.h>
|
#include <velocypack/Slice.h>
|
||||||
#include <velocypack/velocypack-aliases.h>
|
#include <velocypack/velocypack-aliases.h>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include "Basics/StringBuffer.h"
|
||||||
|
|
||||||
namespace arangodb {
|
namespace arangodb {
|
||||||
namespace rest {
|
namespace rest {
|
||||||
|
@ -71,11 +71,7 @@ struct VppInputMessage {
|
||||||
return VPackSlice{};
|
return VPackSlice{};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<VPackSlice> const& payloads() const {
|
std::vector<VPackSlice> const& payloads() const { return _payload; }
|
||||||
if (!_payload.empty()) {
|
|
||||||
return _payload;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
VPackBuffer<uint8_t> _buffer;
|
VPackBuffer<uint8_t> _buffer;
|
||||||
|
|
Loading…
Reference in New Issue