You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch from using the deprecated erlang:now/0 to os:timestamp/0 as
suggested by @tchoutri in #9
The erlang docs recommend using monotonically increasing values for
calculating elapsed time to avoid problems with time drift. Further work
should be done to use erlang:monotonic_time/0 where supported, falling
back to os:timestamp/0 on older erlang versions.
This behaviour follows "classic" versions of ping which rely on the
system clock and so may return impossible (negative) values for elapsed
time. OpenBSD's ping uses monotonically increasing values for the time.
Maybe should you replace it with
os:timestamp
?The text was updated successfully, but these errors were encountered: