Commit 13ffbdf5 authored by zhujiashun's avatar zhujiashun

redis_server_protocol: add missing header

parent da0168a3
......@@ -126,6 +126,12 @@ public:
ClearQueue(ready_to_delete);
}
SocketId socket_id;
RedisService::CommandMap command_map;
RedisCommandHandler* handler_continue;
std::queue<ConsumeTaskDone*> dones;
private:
void ClearQueue(std::queue<ConsumeTaskDone*>& queue) {
while (!queue.empty()) {
ConsumeTaskDone* head = queue.front();
......@@ -134,12 +140,6 @@ public:
}
}
SocketId socket_id;
RedisService::CommandMap command_map;
RedisCommandHandler* handler_continue;
std::queue<ConsumeTaskDone*> dones;
private:
bool _writing = false;
butil::Mutex _mutex;
};
......
......@@ -22,7 +22,7 @@
#include <google/protobuf/message.h>
#include <unordered_map>
#include <vector>
#include <memory>
#include "butil/iobuf.h"
#include "butil/strings/string_piece.h"
#include "butil/arena.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment