jamesge commented on a change in pull request #972: Redis server protocol
URL: https://github.com/apache/incubator-brpc/pull/972#discussion_r353114458
##########
File path: src/brpc/policy/redis_protocol.cpp
##########
@@ -30,17 +32,24 @@
#include "brpc/details/server_private_accessor.h"
#include "brpc/span.h"
#include "brpc/redis.h"
+#include "brpc/redis_command.h"
#include "brpc/policy/redis_protocol.h"
-
+#include "bthread/execution_queue.h"
namespace brpc {
DECLARE_bool(enable_rpcz);
+DECLARE_bool(usercode_in_pthread);
namespace policy {
DEFINE_bool(redis_verbose, false,
"[DEBUG] Print EVERY redis request/response");
+DEFINE_int32(redis_batch_flush_max_size, 2048, "beyond which the server
response"
+ " are forced to write to socket");
Review comment:
看描述不知道名称中的size是针对什么?个数还是response尺寸之和?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]