brpc icon indicating copy to clipboard operation
brpc copied to clipboard

could brpc make IdTraits::MAX_ENTRIES/INIT_GC_SIZE a configurable option?

Open BiteTheDDDDt opened this issue 1 year ago • 1 comments

I encountered the problem that brpc would report eagain error. After trying to change the MAX_ENTRIES of TidTraits from 65536 to 655360, the problem no longer occurred.

I noticed that MAX_ENTRIES and INIT_GC_SIZE of TidTraits are set to the same size. Does this mean that GC will never be triggered? Should MAX_ENTRIES or INIT_GC_SIZE be made configurable? 图片

BiteTheDDDDt avatar Jul 15 '24 03:07 BiteTheDDDDt

CC @stdpain

chenBright avatar Sep 04 '24 10:09 chenBright