Skip to content

Commit

Permalink
Fix the issue that emqx_session:attrs/1 returns wrong value
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercl authored and turtleDeng committed Jul 5, 2019
1 parent 8234b61 commit 61d64cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emqx_session.erl
Expand Up @@ -214,7 +214,7 @@ attrs(#state{clean_start = CleanStart,
{binding, binding(ConnPid)},
{client_id, ClientId},
{username, Username},
{expiry_interval, ExpiryInterval div 1000},
{expiry_interval, ExpiryInterval},
{created_at, CreatedAt}].

-spec(stats(spid() | #state{}) -> list({atom(), non_neg_integer()})).
Expand Down

0 comments on commit 61d64cb

Please sign in to comment.