Last active
August 4, 2017 17:25
-
-
Save lukebakken/6cb43279822f12a4ef59ea7c3d96eeb8 to your computer and use it in GitHub Desktop.
Kill a RabbitMQ vhost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f(), {ok, Pid} = rabbit_vhost_sup_sup:get_vhost_sup(<<"/">>), [MPid] = [Pid || {Name, Pid, _, _} <- supervisor:which_children(Pid), Name == msg_store_persistent], erlang:exit(MPid, force_vhost_failure). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment