Fix sessions list command

This commit is contained in:
HuangDan 2017-04-15 23:52:54 +08:00
parent 0cbca5f4c0
commit 9157f824e5
1 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,7 @@ print({ClientId, _ClientPid, _Persistent, SessInfo}) ->
deliver_msg, deliver_msg,
enqueue_msg, enqueue_msg,
created_at], created_at],
?PRINT("Session(~s, clean_sess=~s, max_inflight=~w, inflight=~w, " ?PRINT("Session(~s, clean_sess=~s, subscription=~w, max_inflight=~w, inflight=~w, "
"mqueue_len=~w, mqueue_dropped=~w, awaiting_rel=~w, " "mqueue_len=~w, mqueue_dropped=~w, awaiting_rel=~w, "
"deliver_msg=~w, enqueue_msg=~w, created_at=~w)~n", "deliver_msg=~w, enqueue_msg=~w, created_at=~w)~n",
[ClientId | [format(Key, get_value(Key, Data)) || Key <- InfoKeys]]). [ClientId | [format(Key, get_value(Key, Data)) || Key <- InfoKeys]]).