grpc-ios icon indicating copy to clipboard operation
grpc-ios copied to clipboard

Setting responseSizeLimit not working

Open Janneman84 opened this issue 2 years ago • 2 comments

The default message size is capped at 4MB but I need to be able to download files up to 15MB big.

There are two ways to increase this limit but neither of them seem to work. When initing a service you can pass callOptions. I tried passing this:

GRPCMutableCallOptions *options = [[GRPCMutableCallOptions alloc]init];
options.additionalChannelArgs = @{@"grpc.max_receive_message_length" : @15728640};
options.responseSizeLimit = 15728640;

However I still can't download anything over 4MB. However what does work is manually changing GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH in grpc_types.h, but that's not a durable solution.

I'm not sure if this is the right place for this issue. I'm on 1.49.0.

Janneman84 avatar Dec 09 '22 11:12 Janneman84

@Janneman84

this has nothing to do with the issue, but I was wondering how you added the LED rings on the buttons for your Gamecube?

Bakuku avatar Mar 02 '23 19:03 Bakuku

@Janneman84

this has nothing to do with the issue, but I was wondering how you added the LED rings on the buttons for your Gamecube?

I drilled some holes and glued in 4 3mm LEDs in each button socked laying flat. I sanded the LEDs for better light spread. I also sanded down the bottom rim of the buttons to prevent light blockage.

Janneman84 avatar Mar 24 '23 10:03 Janneman84