-
Notifications
You must be signed in to change notification settings - Fork 188
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
[v2] Disperser API Server Entrypoint #785
Conversation
To be merged on top of #784 |
return errors.New("could not start tcp listener") | ||
} | ||
|
||
opt := grpc.MaxRecvMsgSize(1024 * 1024 * 300) // 300 MiB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it probably should be. Maybe this should be maxBlobSize
+ some buffer. @mooselumph @bxue-l2 wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave it the same as current disperser for now. I don't think there is a big risk here - we can revisit this later
DisperserVersionFlag = cli.UintFlag{ | ||
Name: common.PrefixFlag(FlagPrefix, "disperser-version"), | ||
Usage: "Disperser version. Options are 1 and 2.", | ||
Required: false, | ||
Value: 1, | ||
EnvVar: common.PrefixEnvVar(envVarPrefix, "DISPERSER_VERSION"), | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have a discussion about configuration, I've got a proposal on how we might do it with less boilerplate like this.
Why are these changes needed?
Scaffolding v2 dispersal server
Checks