Skip to content
Permalink
Browse files
Merge branch 'use-couch-rand-module'
Fixes #6
  • Loading branch information
nickva committed Oct 5, 2017
2 parents 1d2b149 + 345804c commit 04bebb3f99b2045da0deb090afb4e6c4eacb67f5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -136,7 +136,7 @@ make_next_request(#state{}=State) ->
{false, true} ->
choose_next_request(#state.compaction, State);
{false, false} ->
case random:uniform() < State#state.ratio of
case couch_rand:uniform() < State#state.ratio of
true ->
choose_next_request(#state.compaction, State);
false ->

0 comments on commit 04bebb3

Please sign in to comment.