issues
search
qicosmos
/
rest_rpc
modern C++(C++11), simple, easy to use rpc framework
MIT License
1.66k
stars
365
forks
source link
add send queue size limit to resolve message backlog.
#25
Open
LeoYang-Chuese
opened
3 years ago
LeoYang-Chuese
commented
3 years ago
add a function to get the size of the send queue.
add the maximum size parameter of the send queue, limit the length of the send queue, and discard the latest message beyond the queue limit.
qicosmos
commented
2 years ago
还可以增加达到上限的一个回调,回调给用户,让用户有机会做反压的处理。