diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-07-28 09:02:54 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-07-28 09:02:54 +0200 |
commit | 6e987428d49558a8a7b08795bcc429f720bb3874 (patch) | |
tree | 91af699d90c3aa3c0e6e13e4aa9248dd8cff8f6c /src/random.hpp | |
parent | ce7a9a58e3a0d13db53f7e0b4c17b3185a8c0e1a (diff) |
Precise reconnect interval randomised
Till now the random fraction of the reconnect interval was
computed based on process ID. This patch uses pseudo-random
generated (seeded by exact time of when the process was
started) to compute the interval.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/random.hpp')
0 files changed, 0 insertions, 0 deletions