Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybind/ceph_daemon: use small chunk for recv
socket.recv(bufsize) accept signed int in python, so if we want to load huge data (mds -> cache_dump is an instance) from admin socket , an EOVERFLOW exception will be throw. Walk around this by only get READ_CHUNK_SIZE(4096) bytes data each call. Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
- Loading branch information