Record connection start time in milliseconds, not seconds

parent 8e618906
......@@ -88,7 +88,7 @@ init({_Ref, Socket, Transport, [Name, Secret, Tag]}) ->
secret = unhex(Secret),
proxy_tag = unhex(Tag),
up_transport = Transport,
started_at = erlang:system_time(second),
started_at = erlang:system_time(millisecond),
timer = Timer},
{ok, State};
{error, Reason} ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment