Skip to content

Commit 8f537ac

Browse files
Merge pull request #163 from mwfriedm/master
Use the rabbit_table facility to defer timeout to configuration value (cherry picked from commit bdbd22c)
1 parent 0199d11 commit 8f537ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_delayed_message.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ setup_mnesia() ->
9090
record_info(fields, delay_index)},
9191
{type, ordered_set},
9292
{disc_copies, [node()]}]),
93-
mnesia:wait_for_tables([?TABLE_NAME, ?INDEX_TABLE_NAME], 30000).
93+
rabbit_table:wait([?TABLE_NAME, ?INDEX_TABLE_NAME]).
9494

9595
disable_plugin() ->
9696
mnesia:delete_table(?INDEX_TABLE_NAME),

0 commit comments

Comments
 (0)