diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-08-26 11:06:30 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-08-26 11:06:30 +0000 |
commit | ae82748e8ca5ea2136be4a193fe0a3855f1abbc1 (patch) | |
tree | c0ab0e4757a43e82cf3257c3a8b8273eae875cf5 /configd/src/apps/sentinel/report-connectivity.cpp | |
parent | c99600b4b9e427d5f8081f05c27879f6e5aab87a (diff) |
allow 20ms for each TLS handshake to perform
Diffstat (limited to 'configd/src/apps/sentinel/report-connectivity.cpp')
-rw-r--r-- | configd/src/apps/sentinel/report-connectivity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configd/src/apps/sentinel/report-connectivity.cpp b/configd/src/apps/sentinel/report-connectivity.cpp index 1ea7365aa3f..270bed82965 100644 --- a/configd/src/apps/sentinel/report-connectivity.cpp +++ b/configd/src/apps/sentinel/report-connectivity.cpp @@ -24,6 +24,7 @@ ReportConnectivity::ReportConnectivity(FRT_RPCRequest *req, int timeout_ms, FRT_ _remaining = map.size(); for (const auto & [ hostname, port ] : map) { _checks.emplace_back(std::make_unique<PeerCheck>(*this, hostname, port, orb, timeout_ms)); + timeout_ms += 20; } } else { _parentRequest->SetError(FRTE_RPC_METHOD_FAILED, "failed getting model config"); |