-
Notifications
You must be signed in to change notification settings - Fork 1
block streaming #89
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
block streaming #89
Conversation
| proxy_set_header Connection ""; | ||
|
|
||
| proxy_buffering off; | ||
| proxy_cache off; | ||
|
|
||
| proxy_read_timeout 1h; | ||
| proxy_send_timeout 1h; | ||
|
|
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.
nginx will buffer messages unless it's configured with buffering off
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.
probably worth putting this in the OAP docs for those running with nginx
| 45, // 45: core.v1.CoreService.GetUploadByCID:output_type -> core.v1.GetUploadByCIDResponse | ||
| 23, // [23:46] is the sub-list for method output_type | ||
| 0, // [0:23] is the sub-list for method input_type | ||
| 23, // 23: core.v1.CoreService.StreamBlocks:input_type -> core.v1.StreamBlocksRequest |
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.
This doesn't break existing stuff does it, having the ids bump like this?
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.
no, it maps grpc routes to their request and response types
adds a new StreamBlocks rpc that pushes full blocks to a client. example in the examples doc