[clangd] Set gRPC deadlines to all remote index requests
authorKirill Bobyrev <kbobyrev@google.com>
Wed, 1 Jul 2020 10:45:41 +0000 (12:45 +0200)
committerKirill Bobyrev <kbobyrev@google.com>
Wed, 1 Jul 2020 10:46:29 +0000 (12:46 +0200)
commit22a3e4055f4382e8ebbf67705501e6969c6b398b
treec8cc67f6768296f893b1983be0b057dbef33a257
parentf70cad26121543c0a29b9a2c400b02c659210d71
[clangd] Set gRPC deadlines to all remote index requests

Summary: "TL;DR: Always set a deadline.", https://grpc.io/blog/deadlines/

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82844
clang-tools-extra/clangd/index/remote/Client.cpp