Skip to content

Commit

Permalink
Don't use export_all
Browse files Browse the repository at this point in the history
It emits a warning and breaks compilation on OTP 20.
Originally introduced in 492e23b,
likely unintentionally.

Fixes #1272, references #567, #766.
  • Loading branch information
michaelklishin committed Jun 23, 2017
1 parent ce98122 commit 371ebdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rabbit_variable_queue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@

-export([move_messages_to_vhost_store/0]).

-export([migrate_queue/3, migrate_message/3, get_per_vhost_store_client/2,
get_global_store_client/1, log_upgrade_verbose/1,
log_upgrade_verbose/2]).

-include_lib("stdlib/include/qlc.hrl").

-define(QUEUE_MIGRATION_BATCH_SIZE, 100).
Expand Down Expand Up @@ -359,8 +363,6 @@
-rabbit_upgrade({multiple_routing_keys, local, []}).
-rabbit_upgrade({move_messages_to_vhost_store, message_store, []}).

-compile(export_all).

-type seq_id() :: non_neg_integer().

-type rates() :: #rates { in :: float(),
Expand Down

0 comments on commit 371ebdb

Please sign in to comment.