diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-16 16:37:57 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-16 16:37:57 +0000 |
commit | 3cd34f132a0cb73534aa479e16533771bc6cb6aa (patch) | |
tree | 361fd9dec781760642136296efea3855112ba823 /src | |
parent | 145396a644de3d31ed90104fd29bcd795e9ccad1 (diff) |
A tweak to the "H" retry rule from Michael Haardt.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/retry.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/src/retry.c b/src/src/retry.c index eb4cd46cc..dbfd3cee8 100644 --- a/src/src/retry.c +++ b/src/src/retry.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/retry.c,v 1.7 2006/02/09 14:50:58 ph10 Exp $ */ +/* $Cambridge: exim/src/src/retry.c,v 1.8 2006/02/16 16:37:57 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -798,7 +798,8 @@ for (i = 0; i < 3; i++) { next_try = now + rule->p1; if (next_gap > rule->p1) - next_try += random_number(next_gap - rule->p1); + next_try += random_number(next_gap - rule->p1)/2 + + (next_gap - rule->p1)/2; } } } |