diff options
| author | Diana Corbacho <diana@rabbitmq.com> | 2016-11-07 17:17:24 +0000 |
|---|---|---|
| committer | Diana Corbacho <diana@rabbitmq.com> | 2016-11-07 17:17:24 +0000 |
| commit | fe91a65f524d91c5bc460ce62fb5cd3c69289ae4 (patch) | |
| tree | 68d0e723b056572e5adce093b828bafd1f543cc3 | |
| parent | 70e523b25e600b3d4386d079f1151d65519fdd69 (diff) | |
| download | rabbitmq-server-git-fe91a65f524d91c5bc460ce62fb5cd3c69289ae4.tar.gz | |
Log the number of retries left
| -rw-r--r-- | src/rabbit_table.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_table.erl b/src/rabbit_table.erl index ad5f816e66..5b2ea1335f 100644 --- a/src/rabbit_table.erl +++ b/src/rabbit_table.erl @@ -90,7 +90,8 @@ wait(TableNames, Retry) -> wait(TableNames, Timeout, Retries) -> %% We might be in ctl here for offline ops, in which case we can't %% get_env() for the rabbit app. - rabbit_log:info("Waiting for Mnesia tables for ~p seconds~n", [Timeout]), + rabbit_log:info("Waiting for Mnesia tables for ~p seconds, ~p retries left~n", + [Timeout, Retries - 1]), Result = case mnesia:wait_for_tables(TableNames, Timeout) of ok -> ok; |
