I didn't find any identifier named thrift_framed_transport_size_in_mb, but
you can change the initial size of the buffer in TFramedTransport. One of
the constructors has the following signature:
TFramedTransport(boost::shared_ptr<TTransport> transport, uint32_t sz).
If you need to adjust the size that comes through a transport factory,
then you will need code similar to the following:
class TFramedTransportFactory : public TTransportFactory {
public:
virtual boost::shared_ptr<TTransport>
getTransport(boost::shared_ptr<TTransport> trans) {
return boost::shared_ptr<TTransport>(new TFramedTransport(trans),
MY_CUSTOM_SIZE);
}
};
From: Vivek Goel <[email protected]>
To: [email protected],
Date: 07/18/2013 12:36 PM
Subject: How to increase thrift_framed_transport_size_in_mb?
I want to increase thrift_framed_transport_size_in_mb. I am using C++ at
both server and client. How can I increase that value ?
regards
Vivek Goel