We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50bb96c commit 313c52bCopy full SHA for 313c52b
src/rabbit_nodes.erl
@@ -95,7 +95,7 @@ running_count() -> length(all_running()).
95
-spec await_running_count(integer(), integer()) -> 'ok' | {'error', atom()}.
96
97
await_running_count(TargetCount, Timeout) ->
98
- Retries = floor(Timeout/?SAMPLING_INTERVAL),
+ Retries = round(Timeout/?SAMPLING_INTERVAL),
99
await_running_count_with_retries(TargetCount, Retries).
100
101
await_running_count_with_retries(1, _Retries) -> ok;
0 commit comments