merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

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

increase pay timeout

Diffstat:
Msrc/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 @@ -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; }