diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-20 18:38:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-20 18:38:57 +0100 |
commit | 1b24e2f9bb84d64ff07f28a330e1913de790df0c (patch) | |
tree | a5290dc393dc2ef06ceb052c48a588e650c93b5e /src/testing/testing_api_cmd_deposit.c | |
parent | b9186bdd788b544fbbc349f655b93389fd301211 (diff) | |
download | exchange-1b24e2f9bb84d64ff07f28a330e1913de790df0c.tar.xz |
more statistics, make explicit table lock optional, can hurt performance badly
Diffstat (limited to 'src/testing/testing_api_cmd_deposit.c')
-rw-r--r-- | src/testing/testing_api_cmd_deposit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index 6404a94a4..7e97f544c 100644 --- a/src/testing/testing_api_cmd_deposit.c +++ b/src/testing/testing_api_cmd_deposit.c @@ -164,6 +164,8 @@ do_retry (void *cls) struct DepositState *ds = cls; ds->retry_task = NULL; + ds->is->commands[ds->is->ip].last_req_time + = GNUNET_TIME_absolute_get (); deposit_run (ds, NULL, ds->is); @@ -213,6 +215,7 @@ deposit_cb (void *cls, else ds->backoff = GNUNET_TIME_randomized_backoff (ds->backoff, MAX_BACKOFF); + ds->is->commands[ds->is->ip].num_tries++; ds->retry_task = GNUNET_SCHEDULER_add_delayed (ds->backoff, &do_retry, |