Skip to content

Commit 371ebdb

Browse files
Don't use export_all
It emits a warning and breaks compilation on OTP 20. Originally introduced in 492e23b, likely unintentionally. Fixes #1272, references #567, #766.
1 parent ce98122 commit 371ebdb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/rabbit_variable_queue.erl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535

3636
-export([move_messages_to_vhost_store/0]).
3737

38+
-export([migrate_queue/3, migrate_message/3, get_per_vhost_store_client/2,
39+
get_global_store_client/1, log_upgrade_verbose/1,
40+
log_upgrade_verbose/2]).
41+
3842
-include_lib("stdlib/include/qlc.hrl").
3943

4044
-define(QUEUE_MIGRATION_BATCH_SIZE, 100).
@@ -359,8 +363,6 @@
359363
-rabbit_upgrade({multiple_routing_keys, local, []}).
360364
-rabbit_upgrade({move_messages_to_vhost_store, message_store, []}).
361365

362-
-compile(export_all).
363-
364366
-type seq_id() :: non_neg_integer().
365367

366368
-type rates() :: #rates { in :: float(),

0 commit comments

Comments
 (0)