diff --git a/src/ubsocket/brpc/brpc_file_descriptor.h b/src/ubsocket/brpc/brpc_file_descriptor.h index 769f77ccb5bff05cd31839a891622d1be81c4d14..02d083b8ab5188ef9faacdd2e7eb66bcbb33ba20 100644 --- a/src/ubsocket/brpc/brpc_file_descriptor.h +++ b/src/ubsocket/brpc/brpc_file_descriptor.h @@ -434,7 +434,7 @@ public: return 65535; } - static const uint32_t SGE_MAX = 16; + static const uint32_t SGE_MAX = 6; // currently, the upper limit of post batch for umq is 64 static const uint32_t POST_BATCH_MAX = 64; // currently, poll batch use 32 is for the balance of performance and efficiency