Merge pull request #1003 from emqtt/emq20

Fix sessions list command
This commit is contained in:
huangdan 2017-04-17 10:11:42 +08:00 committed by GitHub
commit 31f9161d3b
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]]).