gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: Instances configuration.


From: gnunet
Subject: [taler-deployment] branch master updated: Instances configuration.
Date: Thu, 15 Sep 2022 08:43:45 +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 263095c  Instances configuration.
263095c is described below

commit 263095c47a80b864785cf9ca73be827513d07624
Author: MS <ms@taler.net>
AuthorDate: Thu Sep 15 08:41:57 2022 +0200

    Instances configuration.
    
    Avoid 'forever' as the deadline for wire
    transfers and customers' payments.
---
 bin/taler-gv    | 4 ++--
 bin/taler-local | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/bin/taler-gv b/bin/taler-gv
index bf217be..d9dca4c 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1680,8 +1680,8 @@ def prepare(postgres_db_name):
             default_max_wire_fee=f"{currency}:1",
             default_wire_fee_amortization=3,
             default_max_deposit_fee=f"{currency}:1",
-            default_wire_transfer_delay=dict(d_us="forever"),
-            default_pay_delay=dict(d_us="forever"),
+            default_wire_transfer_delay=dict(d_us=0),
+            default_pay_delay=dict(d_us=24*60*60*1000000),
             auth=dict(method="token", token=auth_token),
         )
         http_method = requests.post
diff --git a/bin/taler-local b/bin/taler-local
index 4e33848..55c821c 100755
--- a/bin/taler-local
+++ b/bin/taler-local
@@ -1706,8 +1706,8 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
             default_max_wire_fee=f"{currency}:1",
             default_wire_fee_amortization=3,
             default_max_deposit_fee=f"{currency}:1",
-            default_wire_transfer_delay=dict(d_us="forever"),
-            default_pay_delay=dict(d_us="forever"),
+            default_wire_transfer_delay=dict(d_us="0"),
+            default_pay_delay=dict(d_us="24*60*60*1000000"),
             auth=dict(method="token", token=auth_token),
         )
         http_method = requests.post
@@ -1794,6 +1794,10 @@ def prepare(x_forwarded_host, x_forwarded_proto, 
postgres_db_name):
         "--reset"]
     ).run()
     print(" OK")
+    subprocess.run(
+        ["systemctl", "--user", "stop", "taler-local-*.service"],
+        check=True
+    )
 
 @cli.command()
 def launch():

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]