summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-pay.c11
1 files 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;
}