diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2012-10-08 12:47:03 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2012-10-08 12:47:03 +0100 |
| commit | a343eb68af4b46c10c3f6055ca940ae9a3de4d3d (patch) | |
| tree | ab94dee4e39fa1e4848e5d8a8189ea4de1bcebf1 | |
| parent | a88d5acc178290e3f2d3251b2d0803d3ad4aad48 (diff) | |
| download | rabbitmq-server-git-a343eb68af4b46c10c3f6055ca940ae9a3de4d3d.tar.gz | |
R12B-3 compatibility.
| -rw-r--r-- | src/rabbit_mirror_queue_misc.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl index d634e6ebc2..9d70142241 100644 --- a/src/rabbit_mirror_queue_misc.erl +++ b/src/rabbit_mirror_queue_misc.erl @@ -280,7 +280,8 @@ suggested_queue_nodes(_, _, {MNode, _}, _) -> {MNode, []}. shuffle(L) -> - random:seed(now()), + {A1,A2,A3} = now(), + random:seed(A1, A2, A3), {_, L1} = lists:unzip(lists:keysort(1, [{random:uniform(), N} || N <- L])), L1. |
