diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2021-12-03 05:35:06 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2021-12-03 05:35:06 +0000 |
| commit | 68965ba955db755e0cf7c57882a1e99da5c47644 (patch) | |
| tree | f8e722161681a766f4425cefdbe71f32f647fd14 /iterator/iterator.h | |
| parent | 625f1c1312fb7defbd148c8ba121a0cf058707ef (diff) | |
Diffstat (limited to 'iterator/iterator.h')
| -rw-r--r-- | iterator/iterator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iterator/iterator.h b/iterator/iterator.h index dc5e57527d87..a9e58569fcf3 100644 --- a/iterator/iterator.h +++ b/iterator/iterator.h @@ -94,8 +94,6 @@ extern int UNKNOWN_SERVER_NICENESS; * Equals RTT_MAX_TIMEOUT */ #define USEFUL_SERVER_TOP_TIMEOUT 120000 -/** number of retries on outgoing queries */ -#define OUTBOUND_MSG_RETRY 5 /** RTT band, within this amount from the best, servers are chosen randomly. * Chosen so that the UNKNOWN_SERVER_NICENESS falls within the band of a * fast server, this causes server exploration as a side benefit. msec. */ @@ -139,6 +137,9 @@ struct iter_env { lock_basic_type queries_ratelimit_lock; /** number of queries that have been ratelimited */ size_t num_queries_ratelimited; + + /** number of retries on outgoing queries */ + int outbound_msg_retry; }; /** |
