[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: loop count
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: loop count |
Date: |
Thu, 25 Aug 2022 16:05:17 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 977e861 loop count
977e861 is described below
commit 977e86189d322a85812c0bb8ce302804ffb867f9
Author: MS <ms@taler.net>
AuthorDate: Thu Aug 25 16:05:14 2022 +0200
loop count
---
bin/taler-gv | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/bin/taler-gv b/bin/taler-gv
index f95e5d1..a63bfca 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1316,7 +1316,12 @@ def prepare(postgres_db_name):
print_nn("Launching the exchange...")
subprocess.run(["systemctl", "--user", "start",
"taler-local-exchange-httpd.service"])
res = requests.get("https://exchange.demo.taler.net/")
+ res_count = 0
while res.status_code != 200:
+ if res_count == 10:
+ print("Exchange unreachable")
+ sys.exit(1)
+ res_count = res_count + 1
time.sleep(1)
res = requests.get("https://exchange.demo.taler.net/")
print(" OK")
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: loop count,
gnunet <=