Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting responseSizeLimit not working #168

Open
Janneman84 opened this issue Dec 9, 2022 · 2 comments
Open

Setting responseSizeLimit not working #168

Janneman84 opened this issue Dec 9, 2022 · 2 comments

Comments

@Janneman84
Copy link

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.

@Bakuku
Copy link

Bakuku commented Mar 2, 2023

@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?

@Janneman84
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants