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 bda2834 commit f6b942bCopy full SHA for f6b942b
src/rabbit_vhost.erl
@@ -153,7 +153,7 @@ delete(VHostPath, ActingUser) ->
153
154
-spec await_running_on_all_nodes(rabbit_types:vhost(), integer()) -> ok | {error, timeout}.
155
await_running_on_all_nodes(VHost, Timeout) ->
156
- Attempts = ceil(Timeout / ?AWAIT_SAMPLE_INTERVAL),
+ Attempts = round(Timeout / ?AWAIT_SAMPLE_INTERVAL),
157
await_running_on_all_nodes0(VHost, Attempts).
158
159
await_running_on_all_nodes0(_VHost, 0) ->
0 commit comments