diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-26 17:37:33 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-26 17:37:33 +0200 |
commit | 3ab7f8b8409fab8fa0e4e041bd9676c4d5eb935c (patch) | |
tree | 728caededcdddda70e8517f763d95bde9d00e5ed /src/exchange-lib/testing_api_cmd_fakebank_transfer.c | |
parent | eada4b9ecdd5aced1ce408b716899fc95db416d7 (diff) | |
download | exchange-3ab7f8b8409fab8fa0e4e041bd9676c4d5eb935c.tar.xz |
use randomized backoff
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_fakebank_transfer.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_fakebank_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c index 4e7812aec..84ac3dcc5 100644 --- a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c +++ b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c @@ -212,7 +212,7 @@ add_incoming_cb (void *cls, if (TALER_EC_DB_COMMIT_FAILED_ON_RETRY == ec) fts->backoff = GNUNET_TIME_UNIT_ZERO; else - fts->backoff = GNUNET_TIME_STD_BACKOFF (fts->backoff); + fts->backoff = GNUNET_TIME_randomized_backoff (fts->backoff); fts->retry_task = GNUNET_SCHEDULER_add_delayed (fts->backoff, &do_retry, fts); |