From 2ebd25630760f9f641b9da56f5544e4673e9acad Mon Sep 17 00:00:00 2001 From: Dave Page Date: Sun, 26 Feb 2017 11:52:42 +0000 Subject: [PATCH] Fix startup complete tests to ensure we properly poll the server for completed startup. Fixes #2192 --- runtime/pgAdmin4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/pgAdmin4.cpp b/runtime/pgAdmin4.cpp index b1f470d81..b8d5fb230 100644 --- a/runtime/pgAdmin4.cpp +++ b/runtime/pgAdmin4.cpp @@ -145,7 +145,7 @@ int main(int argc, char * argv[]) // will also retry - that shouldn't (in theory) be necessary, but it won't // hurt. int attempt = 0; - while (attempt++ < 3) + while (attempt++ < 10) { bool alive = PingServer(QUrl(appServerUrl)); @@ -185,7 +185,7 @@ bool PingServer(QUrl url) QNetworkReply *reply; QVariant redirectUrl; - url.setPath("/ping"); + url.setPath("/misc/ping"); do {