Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
fix: gRPC buffer size settings in NGINX was too small (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawid-h authored Aug 21, 2020
1 parent 1b211b4 commit 55b0acf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/evonet/dapi/nginx/grpc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ server {

location /org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs {
grpc_pass grpc://dapi_tx_filter_stream:3006;
grpc_buffer_size 128k;
}

location /org.dash.platform.dapi.v0.Core {
grpc_pass grpc://dapi_api:3005;
grpc_buffer_size 128k;
}

location /org.dash.platform.dapi.v0.Platform {
grpc_pass grpc://dapi_api:3005;
grpc_buffer_size 128k;
}

location /grpc.health.v1.Health {
Expand Down
3 changes: 3 additions & 0 deletions configs/local/dapi/nginx/grpc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ server {

location /org.dash.platform.dapi.v0.Core/subscribeToTransactionsWithProofs {
grpc_pass grpc://dapi_tx_filter_stream:3006;
grpc_buffer_size 128k;
}

location /org.dash.platform.dapi.v0.Core {
grpc_pass grpc://dapi_api:3005;
grpc_buffer_size 128k;
}

location /org.dash.platform.dapi.v0.Platform {
grpc_pass grpc://dapi_api:3005;
grpc_buffer_size 128k;
}

location /grpc.health.v1.Health {
Expand Down

0 comments on commit 55b0acf

Please sign in to comment.