[clangd][remote] Add flag to set idletimeout
authorKadir Cetinkaya <kadircet@google.com>
Mon, 22 Feb 2021 08:49:08 +0000 (09:49 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Fri, 26 Feb 2021 14:04:44 +0000 (15:04 +0100)
commit1a5dfb7db23e3c0aec0b4356a60b9d6b7c8f9683
tree14da2855aa9d92109e40f8c72646f92f217c8b7e
parentad9091c5fa9f3749496d1a8ce8481f0011ed40da
[clangd][remote] Add flag to set idletimeout

By default gRPC has no idletimeout and some firewalls might drop idle
connections after a certain period. This results in idle clients
shouting into void until server resets the connection.

Differential Revision: https://reviews.llvm.org/D97536
clang-tools-extra/clangd/index/remote/server/Server.cpp