toniq
toniq copied to clipboard
Do not use deprecated :erlang.now/0
When I am using toniq 1.2.0 with elixir 1.3.4, the following warning appears during compilation:
remote: warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
remote: lib/toniq/keepalive_persistence.ex:113
@mspanc
I don't got access to 1.3.4 now, but what happens if you dump :timer.now_diff(:erlang.now, {0, 0, 0}) * 1000
into iex?
I don't get anything on 1.4.0.
It is due to new erlang, not elixir