aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-09-23 08:24:13 +0200
committerPer Larsson <[email protected]>2021-09-23 08:24:13 +0200
commita90c4fd0d6c4c18c24efc60fe26f2f043c7221be (patch)
tree0d8718e871eb83546d367198839fc16a4a72933a /zenserver/upstream/upstreamcache.cpp
parentClang format fix. (diff)
downloadzen-a90c4fd0d6c4c18c24efc60fe26f2f043c7221be.tar.xz
zen-a90c4fd0d6c4c18c24efc60fe26f2f043c7221be.zip
Use /check/health instead of /test/hello.
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
-rw-r--r--zenserver/upstream/upstreamcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp
index a889fb984..9d43462c0 100644
--- a/zenserver/upstream/upstreamcache.cpp
+++ b/zenserver/upstream/upstreamcache.cpp
@@ -317,9 +317,9 @@ namespace detail {
ZenStructuredCacheSession Session(*m_Client);
ZenCacheResult Result;
- for (int32_t Attempt = 0, MaxAttempts = 3; Attempt < MaxAttempts && !Result.Success; ++Attempt)
+ for (int32_t Attempt = 0, MaxAttempts = 2; Attempt < MaxAttempts && !Result.Success; ++Attempt)
{
- Result = Session.SayHello();
+ Result = Session.CheckHealth();
}
m_HealthOk = Result.ErrorCode == 0;