aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_refresh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_refresh.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_refresh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_refresh.c b/src/exchange-lib/testing_api_cmd_refresh.c
index 788e82a0b..3ca04d220 100644
--- a/src/exchange-lib/testing_api_cmd_refresh.c
+++ b/src/exchange-lib/testing_api_cmd_refresh.c
@@ -322,7 +322,7 @@ reveal_cb (void *cls,
if (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec)
rrs->backoff = GNUNET_TIME_UNIT_ZERO;
else
- rrs->backoff = GNUNET_TIME_STD_BACKOFF (rrs->backoff);
+ rrs->backoff = GNUNET_TIME_randomized_backoff (rrs->backoff);
rrs->retry_task = GNUNET_SCHEDULER_add_delayed (rrs->backoff,
&do_reveal_retry,
rrs);
@@ -551,7 +551,7 @@ link_cb (void *cls,
if (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec)
rls->backoff = GNUNET_TIME_UNIT_ZERO;
else
- rls->backoff = GNUNET_TIME_STD_BACKOFF (rls->backoff);
+ rls->backoff = GNUNET_TIME_randomized_backoff (rls->backoff);
rls->retry_task = GNUNET_SCHEDULER_add_delayed (rls->backoff,
&do_link_retry,
rls);
@@ -837,7 +837,7 @@ melt_cb (void *cls,
if (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec)
rms->backoff = GNUNET_TIME_UNIT_ZERO;
else
- rms->backoff = GNUNET_TIME_STD_BACKOFF (rms->backoff);
+ rms->backoff = GNUNET_TIME_randomized_backoff (rms->backoff);
rms->retry_task = GNUNET_SCHEDULER_add_delayed (rms->backoff,
&do_melt_retry,
rms);