boost::redis::config::max_read_size
Maximum size of the socket read‐buffer in bytes.
Synopsis
Declared in <boost/redis/config.hpp>
std::size_t max_read_size = (std::numeric_limits<std::size_t>::max)();
Description
Sets a limit on how large the read‐buffer is allowed to grow. It can be used to prevent DDOS.
When using Sentinel, this setting applies to masters, replicas and Sentinels.
Created with MrDocs