gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: increase pay timeout


From: gnunet
Subject: [taler-merchant] branch master updated: increase pay timeout
Date: Fri, 05 Feb 2021 12:10:48 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new fe944ac4 increase pay timeout
fe944ac4 is described below

commit fe944ac4dc5fda7ad88918527c821ba98ca00e11
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Feb 5 12:10:33 2021 +0100

    increase pay timeout
---
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index d4c47822..a8c6a3ef 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -374,12 +374,13 @@ static struct GNUNET_TIME_Relative
 get_pay_timeout (unsigned int num_coins)
 {
   struct GNUNET_TIME_Relative t;
-  struct GNUNET_TIME_Relative sec5;
 
-  sec5 = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
-                                        10);
-  t = GNUNET_TIME_relative_multiply (sec5,
-                                     1 + (num_coins / 20));
+  /* FIXME:  Do some benchmarking to come up with a better timeout.
+   * We've increased this value so the wallet integration test passes again
+   * on my (Florian) machine.
+   */
+  t = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
+                                     15 * (1 + (num_coins / 5)));
 
   return t;
 }

-- 
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]