aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-26 17:37:33 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-26 17:37:33 +0200
commit3ab7f8b8409fab8fa0e4e041bd9676c4d5eb935c (patch)
tree728caededcdddda70e8517f763d95bde9d00e5ed /src/exchange-lib/testing_api_cmd_withdraw.c
parenteada4b9ecdd5aced1ce408b716899fc95db416d7 (diff)
use randomized backoff
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_withdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c
index 7aba3ac3..58464d4d 100644
--- a/src/exchange-lib/testing_api_cmd_withdraw.c
+++ b/src/exchange-lib/testing_api_cmd_withdraw.c
@@ -183,7 +183,7 @@ reserve_withdraw_cb (void *cls,
if (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec)
ws->backoff = GNUNET_TIME_UNIT_ZERO;
else
- ws->backoff = GNUNET_TIME_STD_BACKOFF (ws->backoff);
+ ws->backoff = GNUNET_TIME_randomized_backoff (ws->backoff);
ws->retry_task = GNUNET_SCHEDULER_add_delayed (ws->backoff,
&do_retry,
ws);