anchor.diff:          Bytes = (Bits + 7) div 8,
           <<Result:Bits/bits, _/bits>> = crypto:strong_rand_bytes(Bytes),
           Result.
  +
  +%% @private
  +avoid_rush() ->
  +    %% Sleep before connecting, to avoid a rush on connections.
  +    ConnectionJitter = partisan_config:get(connection_jitter, ?CONNECTION_JITTER),
  +    case partisan_config:get(jitter, false) of
  +        true ->
  +            timer:sleep(rand:uniform(ConnectionJitter));
  +        false ->
  +            timer:sleep(ConnectionJitter)
  +    end.
positive.code:     %% Add to list of pending connections.
      Pending = [Node|Pending0],
  
      %% Sleep before connecting, to avoid a rush on
      %% connections.
      ConnectionJitter = partisan_config:get(connection_jitter, ?CONNECTION_JITTER),
      timer:sleep(rand:uniform(ConnectionJitter)),
  
      %% Trigger connection.
      Connections = establish_connections(Pending,
  
negative.code:     %% Add to list of pending connections.
      Pending = [Node|Pending0],
  
      %% Sleep before connecting, to avoid a rush on connections.
      avoid_rush(),
  
      %% Add to sync joins list.
      SyncJoins = SyncJoins0 ++ [{Node, From}],
  