mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Record connection start time in milliseconds, not seconds
This commit is contained in:
parent
8e618906b4
commit
56d8bac4ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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} ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue