commit | 04bebb3f99b2045da0deb090afb4e6c4eacb67f5 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@apache.org> | Thu Oct 05 13:22:37 2017 -0400 |
committer | Nick Vatamaniuc <vatamane@apache.org> | Thu Oct 05 13:22:37 2017 -0400 |
tree | 7fc657f3732353079643f44416194d1761d6ce02 | |
parent | 1d2b149ee12dfeaf8d89a67b2f937207f4c5bdf2 [diff] | |
parent | 345804ce4d34786acbf0f498a93eac7013a2b0b5 [diff] |
Merge branch 'use-couch-rand-module' Fixes #6
diff --git a/src/ioq.erl b/src/ioq.erl index 93377d6..9ca2656 100644 --- a/src/ioq.erl +++ b/src/ioq.erl
@@ -136,7 +136,7 @@ {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 ->