Turn Files into a streaming RPC, reduce maximum message size limit
commit6ad6b770635736181b621959271d027d7429dcc8
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 12 Sep 2017 07:05:22 +0000 (12 09:05 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 12 Sep 2017 07:05:22 +0000 (12 09:05 +0200)
tree7896bc333c9d71804c2991067befd7c9fd4a9764
parent7ddd97b1da795fcd30748a334541c83e1152b84a
Turn Files into a streaming RPC, reduce maximum message size limit

For queries which have many files with potential results (e.g. “main”, matching
any file containing the two trigrams “mai” and “ain”), the Files message would
grow to hundreds of megabytes in size.
cmd/dcs-index-backend/index-backend.go
cmd/dcs-source-backend/source-backend.go
grpcutil/grpcutil.go
proto/indexbackend.pb.go
proto/indexbackend.proto